René's URL Explorer Experiment


Title: bpo-20907: shutil._unpack_zipfile add warnings for skipped files by akulakov · Pull Request #29910 · python/cpython · GitHub

Open Graph Title: bpo-20907: shutil._unpack_zipfile add warnings for skipped files by akulakov · Pull Request #29910 · python/cpython

X Title: bpo-20907: shutil._unpack_zipfile add warnings for skipped files by akulakov · Pull Request #29910 · python/cpython

Description: Note that test zip only has a '..' path component for testing, and no absolute path. My zip archiver (as well as Python zip archiver) do not create absolute paths. It seems like all (?) modern zip archivers don't create absolute paths. If someone knows of an easy way to add such a path to the test zip file, I can update the unit test for that. https://bugs.python.org/issue20907

Open Graph Description: Note that test zip only has a '..' path component for testing, and no absolute path. My zip archiver (as well as Python zip archiver) do not create absolute paths. It seems like all (?) mod...

X Description: Note that test zip only has a '..' path component for testing, and no absolute path. My zip archiver (as well as Python zip archiver) do not create absolute paths. It seems like all...

Opengraph URL: https://github.com/python/cpython/pull/29910

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9ee08e01-4c5a-6873-86e0-838a0b948d51
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB5B2:3D4591:1E25F5A:2B846A1:6A565819
html-safe-nonce75d59efd9ab28271fa4552e71aeca18a4bf9c422a1d424fcaf3c6eea2c3238b2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUIyOjNENDU5MToxRTI1RjVBOjJCODQ2QTE6NkE1NjU4MTkiLCJ2aXNpdG9yX2lkIjoiNjE0MDMyMDE1NTk2MzQ1MzY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5bf53d5f47a8726e8dcd71b807011fe43efe06327ea9266da955cd531b29c260
hovercard-subject-tagpull_request:794988574
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/29910/files
twitter:imagehttps://avatars.githubusercontent.com/u/243874?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/243874?s=400&v=4
og:image:altNote that test zip only has a '..' path component for testing, and no absolute path. My zip archiver (as well as Python zip archiver) do not create absolute paths. It seems like all (?) mod...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecffc1b7eb44a3dbb1e61c2a0523cad1f04e0368d730bf85ac498c992baf19e7d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release233d2274d9c68198aa6cb23d1db680b5c0b58bba
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/29910/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29910%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29910%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/29910/files
Reloadhttps://github.com/python/cpython/pull/29910/files
Reloadhttps://github.com/python/cpython/pull/29910/files
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
akulakovhttps://github.com/akulakov
python:mainhttps://github.com/python/cpython/tree/main
akulakov:20907-unpack_zipfile-add-warnings-for-skipped-fileshttps://github.com/akulakov/cpython/tree/20907-unpack_zipfile-add-warnings-for-skipped-files
Conversation 14 https://github.com/python/cpython/pull/29910
Commits 8 https://github.com/python/cpython/pull/29910/commits
Checks 0 https://github.com/python/cpython/pull/29910/checks
Files changed https://github.com/python/cpython/pull/29910/files
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
bpo-20907: shutil._unpack_zipfile add warnings for skipped files https://github.com/python/cpython/pull/29910/files#top
Show all changes 8 commits https://github.com/python/cpython/pull/29910/files
d713ba8 initial akulakov Dec 3, 2021 https://github.com/python/cpython/pull/29910/commits/d713ba88be673c902881e2e19b621488e4b5ff8c
5bde783 add test; fix logic and add test zip file akulakov Dec 4, 2021 https://github.com/python/cpython/pull/29910/commits/5bde783b6f5c84d21610c316b21cbc4b106ccfe0
14b7e08 add news akulakov Dec 4, 2021 https://github.com/python/cpython/pull/29910/commits/14b7e08d41730e73437b2d61579b1683657569a0
6ca1160 move warnings import akulakov Dec 4, 2021 https://github.com/python/cpython/pull/29910/commits/6ca11606e7515d8d6f420e6c4d46f4af6a195f5c
9ff16a2 add note to the docs akulakov Dec 4, 2021 https://github.com/python/cpython/pull/29910/commits/9ff16a226bca204f16712f9fb4d06a391746377e
54d3c4e fix test akulakov Dec 4, 2021 https://github.com/python/cpython/pull/29910/commits/54d3c4ed9f13a4bce3d52a9341b5cc2f64eac1e7
70c8f29 use logging.warning instead of warnings.warn akulakov Dec 11, 2021 https://github.com/python/cpython/pull/29910/commits/70c8f295a8b2330b279ec805fb5004eaea36a37e
9336cff Merge branch 'main' into 20907-unpack_zipfile-add-warnings-for-skippe… ambv Oct 28, 2022 https://github.com/python/cpython/pull/29910/commits/9336cff2d08e9341905f2c9606f5b8093a8bcd86
Clear filters https://github.com/python/cpython/pull/29910/files
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
shutil.rst https://github.com/python/cpython/pull/29910/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719
shutil.py https://github.com/python/cpython/pull/29910/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b
test_shutil.py https://github.com/python/cpython/pull/29910/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7
testzip.zip https://github.com/python/cpython/pull/29910/files#diff-52550d73dd87b317e7e4e5d9e221633b12d95b691c92d7d46d723f81036fd2a3
2021-12-03-19-05-39.bpo-20907.f1_XQ1.rst https://github.com/python/cpython/pull/29910/files#diff-254dc995af2c92bc563f06e0f9b5574119117dc16db88a199a08ff204892767f
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L571
Doc/library/shutil.rsthttps://github.com/python/cpython/pull/29910/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719
View file https://github.com/python/cpython/blob/9336cff2d08e9341905f2c9606f5b8093a8bcd86/Doc/library/shutil.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29910/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29910/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719
https://github.com/python/cpython/pull/29910/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L572
Lib/shutil.pyhttps://github.com/python/cpython/pull/29910/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b
View file https://github.com/python/cpython/blob/9336cff2d08e9341905f2c9606f5b8093a8bcd86/Lib/shutil.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29910/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29910/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b
https://github.com/python/cpython/pull/29910/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b
https://github.com/python/cpython/pull/29910/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b
https://github.com/python/cpython/pull/29910/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b
merwokhttps://github.com/merwok
Dec 4, 2021https://github.com/python/cpython/pull/29910/files#r762439672
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://docs.python.org/3/howto/logging.html#when-to-use-logginghttps://docs.python.org/3/howto/logging.html#when-to-use-logging
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
akulakovhttps://github.com/akulakov
Dec 4, 2021https://github.com/python/cpython/pull/29910/files#r762440952
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
akulakovhttps://github.com/akulakov
Dec 4, 2021https://github.com/python/cpython/pull/29910/files#r762490955
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
cpython/Lib/zipfile.pyhttps://github.com/python/cpython/blob/f42a06ba279c916fb67289e47f9bc60dc5dee4ee/Lib/zipfile.py#L1480
f42a06bhttps://github.com/python/cpython/commit/f42a06ba279c916fb67289e47f9bc60dc5dee4ee
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
merwokhttps://github.com/merwok
Dec 5, 2021https://github.com/python/cpython/pull/29910/files#r762494834
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 5, 2021https://github.com/python/cpython/pull/29910/files#r762610374
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
akulakovhttps://github.com/akulakov
Dec 6, 2021https://github.com/python/cpython/pull/29910/files#r762640915
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/pganssle/zoneinfo/blob/c54d700fcba78b20733390ee3014809ad69858f6/src/backports/zoneinfo/_tzpath.py#L58https://github.com/pganssle/zoneinfo/blob/c54d700fcba78b20733390ee3014809ad69858f6/src/backports/zoneinfo/_tzpath.py#L58
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
ambvhttps://github.com/ambv
Dec 10, 2021https://github.com/python/cpython/pull/29910/files#r767046317
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
ambvhttps://github.com/ambv
Dec 10, 2021https://github.com/python/cpython/pull/29910/files#r767046949
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@akulakovhttps://github.com/akulakov
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
akulakovhttps://github.com/akulakov
Dec 11, 2021https://github.com/python/cpython/pull/29910/files#r767064382
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@ambvhttps://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
akulakovhttps://github.com/akulakov
Dec 11, 2021https://github.com/python/cpython/pull/29910/files#r767087579
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/29910/files
https://github.com/python/cpython/pull/29910/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L573
Lib/test/test_shutil.pyhttps://github.com/python/cpython/pull/29910/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7
View file https://github.com/python/cpython/blob/9336cff2d08e9341905f2c9606f5b8093a8bcd86/Lib/test/test_shutil.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29910/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29910/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7
https://github.com/python/cpython/pull/29910/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7
Lib/test/testzip.ziphttps://github.com/python/cpython/pull/29910/files#diff-52550d73dd87b317e7e4e5d9e221633b12d95b691c92d7d46d723f81036fd2a3
View file https://github.com/python/cpython/blob/9336cff2d08e9341905f2c9606f5b8093a8bcd86/Lib/test/testzip.zip
Open in desktop https://desktop.github.com
Misc/NEWS.d/next/Library/2021-12-03-19-05-39.bpo-20907.f1_XQ1.rsthttps://github.com/python/cpython/pull/29910/files#diff-254dc995af2c92bc563f06e0f9b5574119117dc16db88a199a08ff204892767f
View file https://github.com/python/cpython/blob/9336cff2d08e9341905f2c9606f5b8093a8bcd86/Misc/NEWS.d/next/Library/2021-12-03-19-05-39.bpo-20907.f1_XQ1.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29910/{{ revealButtonHref }}
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.