René's URL Explorer Experiment


Title: Use `Literal` for `compression` in `zipfile` by Viicos · Pull Request #9346 · python/typeshed · GitHub

Open Graph Title: Use `Literal` for `compression` in `zipfile` by Viicos · Pull Request #9346 · python/typeshed

X Title: Use `Literal` for `compression` in `zipfile` by Viicos · Pull Request #9346 · python/typeshed

Description: Collection of library stubs for Python, with static types - Use `Literal` for `compression` in `zipfile` by Viicos · Pull Request #9346 · python/typeshed

Open Graph Description: According to docs: compression is the ZIP compression method to use when writing the archive, and should be ZIP_STORED, ZIP_DEFLATED, ZIP_BZIP2 or ZIP_LZMA; unrecognized values will cause NotImple...

X Description: According to docs: compression is the ZIP compression method to use when writing the archive, and should be ZIP_STORED, ZIP_DEFLATED, ZIP_BZIP2 or ZIP_LZMA; unrecognized values will cause NotImple...

Opengraph URL: https://github.com/python/typeshed/pull/9346

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:de4c9b66-4897-3563-139a-ec74b2145f22
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD6CE:3D7740:1BA0A2:265762:6B008452
html-safe-nonceaaf4648cc42d333e8923bcb045db9d65e22a3ff6df6f18b7a211696f4e87a948
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkNFOjNENzc0MDoxQkEwQTI6MjY1NzYyOjZCMDA4NDUyIiwidmlzaXRvcl9pZCI6IjMzNTQyNDE2NDE3NDQ0NjcwMjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac16f1098151e5ba309c848337cffcaed714cbc24247671d0c88a8f1f4adb63b82
hovercard-subject-tagpull_request:1157577896
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/typeshed/9346/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7eda4cddebaa5fc2a25817b9aec8b06bb850716c94f76917d75764b5b5c645d2/python/typeshed/pull/9346
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7eda4cddebaa5fc2a25817b9aec8b06bb850716c94f76917d75764b5b5c645d2/python/typeshed/pull/9346
og:image:altAccording to docs: compression is the ZIP compression method to use when writing the archive, and should be ZIP_STORED, ZIP_DEFLATED, ZIP_BZIP2 or ZIP_LZMA; unrecognized values will cause NotImple...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameViicos
hostnamegithub.com
expected-hostnamegithub.com
None4d3d8e50f02c1d7bf86d5acfa1d3bfe9366abd6528a6b429eb07a168429d2b61
turbo-cache-controlno-cache
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedb758f8e02b8257935fb03edf81a3e76eb3abd11
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/9346#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F9346
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F9346
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/9346
Reloadhttps://github.com/python/typeshed/pull/9346
Reloadhttps://github.com/python/typeshed/pull/9346
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests254 (254)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
https://github.com/python/typeshed
AlexWaygoodhttps://github.com/AlexWaygood
python:mainhttps://github.com/python/typeshed/tree/main
Conversationhttps://github.com/python/typeshed/pull/9346
Commits3 (3)https://github.com/python/typeshed/pull/9346/commits
Checkshttps://github.com/python/typeshed/pull/9346/checks
Files changedhttps://github.com/python/typeshed/pull/9346/files
Use Literal for compression in zipfilehttps://github.com/python/typeshed/pull/9346#top
AlexWaygoodhttps://github.com/AlexWaygood
python:mainhttps://github.com/python/typeshed/tree/main
https://github.com/Viicos
Viicoshttps://github.com/Viicos
Dec 10, 2022https://github.com/python/typeshed/pull/9346#issue-1488394435
docshttps://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZipFile
ZIP_STOREDhttps://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZIP_STORED
ZIP_DEFLATEDhttps://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZIP_DEFLATED
ZIP_BZIP2https://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZIP_BZIP2
ZIP_LZMAhttps://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZIP_LZMA
NotImplementedErrorhttps://docs.python.org/3/library/exceptions.html#NotImplementedError
ZIP_STOREDhttps://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZIP_STORED
ZIP_LZMAhttps://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZIP_LZMA
ZIP_DEFLATEDhttps://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZIP_DEFLATED
zlibhttps://docs.python.org/3/library/zlib.html#zlib.compressobj
ZIP_BZIP2https://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZIP_BZIP2
bz2https://docs.python.org/3/library/bz2.html#bz2.BZ2File
Please reload this pagehttps://github.com/python/typeshed/pull/9346
https://github.com/Viicos
Use Literal for compression in zipfilehttps://github.com/python/typeshed/pull/9346/commits/84977299fef752e2ec228f56149a1e378cd62b6e
8497729https://github.com/python/typeshed/pull/9346/commits/84977299fef752e2ec228f56149a1e378cd62b6e
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F9346
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 12, 2022 https://github.com/python/typeshed/pull/9346#pullrequestreview-1214000163
View reviewed changes https://github.com/python/typeshed/pull/9346/files/84977299fef752e2ec228f56149a1e378cd62b6e
AlexWaygoodhttps://github.com/AlexWaygood
https://github.com/python/typeshed/pull/9346#pullrequestreview-1214000163
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/pypa/pip/blob/5f3f592c4581a059ff9de0fb8052ef5c6ef25fd4/src/pip/_internal/req/req_install.py#L714-L719https://github.com/pypa/pip/blob/5f3f592c4581a059ff9de0fb8052ef5c6ef25fd4/src/pip/_internal/req/req_install.py#L714-L719
Please reload this pagehttps://github.com/python/typeshed/pull/9346
https://github.com/Viicos
Viicoshttps://github.com/Viicos
Dec 13, 2022https://github.com/python/typeshed/pull/9346#issuecomment-1348090449
Please reload this pagehttps://github.com/python/typeshed/pull/9346
https://github.com/Viicos
Use Literal for zipfile constantshttps://github.com/python/typeshed/pull/9346/commits/1f9f8322d8163035e87fb263fe49acbdfc9e4bfb
1f9f832https://github.com/python/typeshed/pull/9346/commits/1f9f8322d8163035e87fb263fe49acbdfc9e4bfb
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F9346
https://github.com/Viicos
Viicoshttps://github.com/Viicos
Dec 13, 2022https://github.com/python/typeshed/pull/9346#issuecomment-1348142235
Please reload this pagehttps://github.com/python/typeshed/pull/9346
https://github.com/srittau
srittauhttps://github.com/srittau
Dec 14, 2022 https://github.com/python/typeshed/pull/9346#pullrequestreview-1217182253
View reviewed changes https://github.com/python/typeshed/pull/9346/files/1f9f8322d8163035e87fb263fe49acbdfc9e4bfb
srittauhttps://github.com/srittau
https://github.com/python/typeshed/pull/9346#pullrequestreview-1217182253
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/9346
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 14, 2022 https://github.com/python/typeshed/pull/9346#pullrequestreview-1217192170
View reviewed changes https://github.com/python/typeshed/pull/9346/files/1f9f8322d8163035e87fb263fe49acbdfc9e4bfb
AlexWaygoodhttps://github.com/AlexWaygood
https://github.com/python/typeshed/pull/9346#pullrequestreview-1217192170
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/9346
https://github.com/srittau
srittauhttps://github.com/srittau
Dec 14, 2022https://github.com/python/typeshed/pull/9346#issuecomment-1350831062
Please reload this pagehttps://github.com/python/typeshed/pull/9346
https://github.com/AlexWaygood
Revert changes to very big constantshttps://github.com/python/typeshed/pull/9346/commits/7b33830859d4eef09e1e255965e5ad475170040a
7b33830https://github.com/python/typeshed/pull/9346/commits/7b33830859d4eef09e1e255965e5ad475170040a
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 14, 2022 https://github.com/python/typeshed/pull/9346#pullrequestreview-1217198336
View reviewed changes https://github.com/python/typeshed/pull/9346/files/7b33830859d4eef09e1e255965e5ad475170040a
AlexWaygoodhttps://github.com/AlexWaygood
https://github.com/python/typeshed/pull/9346#pullrequestreview-1217198336
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@Viicoshttps://github.com/Viicos
Please reload this pagehttps://github.com/python/typeshed/pull/9346
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 14, 2022https://github.com/python/typeshed/pull/9346#issuecomment-1350854639
Please reload this pagehttps://github.com/python/typeshed/pull/9346
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Dec 14, 2022https://github.com/python/typeshed/pull/9346#issuecomment-1350887027
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/9346
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
034cfabhttps://github.com/python/typeshed/commit/034cfab4d6b25b2d3da2fe72e6839a61b2bf5e2c
Dec 14, 2022https://github.com/python/typeshed/pull/9346#event-8035716603
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Dec 15, 2022 https://github.com/python/typeshed/pull/9346#ref-pullrequest-1497587237
Sync typeshed python/mypy#14295 https://github.com/python/mypy/pull/14295
JukkaLhttps://github.com/JukkaL
Dec 15, 2022 https://github.com/python/typeshed/pull/9346#ref-commit-faa05d4
https://github.com/JukkaL
Revert "Usehttps://github.com/JukkaL/typeshed/commit/faa05d47a0e570ef59a7df017fa0f1897e535c90
Literalhttps://github.com/JukkaL/typeshed/commit/faa05d47a0e570ef59a7df017fa0f1897e535c90
forhttps://github.com/JukkaL/typeshed/commit/faa05d47a0e570ef59a7df017fa0f1897e535c90
compressionhttps://github.com/JukkaL/typeshed/commit/faa05d47a0e570ef59a7df017fa0f1897e535c90
inhttps://github.com/JukkaL/typeshed/commit/faa05d47a0e570ef59a7df017fa0f1897e535c90
zipfilehttps://github.com/JukkaL/typeshed/commit/faa05d47a0e570ef59a7df017fa0f1897e535c90
(https://github.com/JukkaL/typeshed/commit/faa05d47a0e570ef59a7df017fa0f1897e535c90
python#9346https://github.com/python/typeshed/pull/9346
)"https://github.com/JukkaL/typeshed/commit/faa05d47a0e570ef59a7df017fa0f1897e535c90
faa05d4https://github.com/JukkaL/typeshed/commit/faa05d47a0e570ef59a7df017fa0f1897e535c90
034cfabhttps://github.com/JukkaL/typeshed/commit/034cfab4d6b25b2d3da2fe72e6839a61b2bf5e2c
https://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZipFilehttps://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZipFile
https://github.com/pytorch/vision/blob/main/torchvision/datasets/utils.py#L301https://github.com/pytorch/vision/blob/main/torchvision/datasets/utils.py#L301
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 16, 2022 https://github.com/python/typeshed/pull/9346#ref-pullrequest-1498155017
Revert "Use Literal for compression in zipfile (#9346)" #9367 https://github.com/python/typeshed/pull/9367
AlexWaygoodhttps://github.com/AlexWaygood
Dec 16, 2022 https://github.com/python/typeshed/pull/9346#ref-commit-2b20b70
https://github.com/JukkaL
Revert "Usehttps://github.com/python/typeshed/commit/2b20b70cf26fddab7588022c4129b5021fb88718
Literalhttps://github.com/python/typeshed/commit/2b20b70cf26fddab7588022c4129b5021fb88718
forhttps://github.com/python/typeshed/commit/2b20b70cf26fddab7588022c4129b5021fb88718
compressionhttps://github.com/python/typeshed/commit/2b20b70cf26fddab7588022c4129b5021fb88718
inhttps://github.com/python/typeshed/commit/2b20b70cf26fddab7588022c4129b5021fb88718
zipfilehttps://github.com/python/typeshed/commit/2b20b70cf26fddab7588022c4129b5021fb88718
(https://github.com/python/typeshed/commit/2b20b70cf26fddab7588022c4129b5021fb88718
#9346https://github.com/python/typeshed/pull/9346
)" (https://github.com/python/typeshed/commit/2b20b70cf26fddab7588022c4129b5021fb88718
#9367https://github.com/python/typeshed/pull/9367
)https://github.com/python/typeshed/commit/2b20b70cf26fddab7588022c4129b5021fb88718
2b20b70https://github.com/python/typeshed/commit/2b20b70cf26fddab7588022c4129b5021fb88718
034cfabhttps://github.com/python/typeshed/commit/034cfab4d6b25b2d3da2fe72e6839a61b2bf5e2c
https://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZipFilehttps://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZipFile
https://github.com/pytorch/vision/blob/main/torchvision/datasets/utils.py#L301https://github.com/pytorch/vision/blob/main/torchvision/datasets/utils.py#L301
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F9346
https://github.com/srittau
srittau https://github.com/srittau
https://github.com/python/typeshed/pull/9346/files/1f9f8322d8163035e87fb263fe49acbdfc9e4bfb
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
https://github.com/python/typeshed/pull/9346/files/7b33830859d4eef09e1e255965e5ad475170040a
Please reload this pagehttps://github.com/python/typeshed/pull/9346
Please reload this pagehttps://github.com/python/typeshed/pull/9346
https://github.com/Viicos
https://github.com/srittau
https://github.com/AlexWaygood
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.