| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:05ce28c8-20fc-aaf8-5190-734a081164f7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E93C:130837:4D2EE7:66B9C5:6A51CA05 |
| html-safe-nonce | 2486b553acb1f733829969114d0e034c0381b2dadbfdf7afecc50820ba5f0bee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTNDOjEzMDgzNzo0RDJFRTc6NjZCOUM1OjZBNTFDQTA1IiwidmlzaXRvcl9pZCI6Ijg3NDQyODU5Mzg3NjE0NTIwMzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1c097b30c1f038751ba7d379439e9102dd6851af6d68c399e0479df571828f25 |
| hovercard-subject-tag | pull_request:2529703044 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/134278/files |
| twitter:image | https://avatars.githubusercontent.com/u/25207516?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/25207516?s=400&v=4 |
| og:image:alt | If the system clock is set so that time.time() falls outside of the range 0 through 2**32-1, then creation of a GZIP-compressed file using gzip.GzipFile() would fail with the exception struct.error... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/134278/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F134278%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F134278%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 |
| Reload | https://github.com/python/cpython/pull/134278/files |
| Reload | https://github.com/python/cpython/pull/134278/files |
| Reload | https://github.com/python/cpython/pull/134278/files |
| Please reload this page | https://github.com/python/cpython/pull/134278/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/134278/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.7k
| 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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:main | https://github.com/python/cpython/tree/main |
| adang1345:fix-gzip-mtime | https://github.com/adang1345/cpython/tree/fix-gzip-mtime |
|
Conversation
21
| https://github.com/python/cpython/pull/134278 |
|
Commits
11
| https://github.com/python/cpython/pull/134278/commits |
|
Checks
54
| https://github.com/python/cpython/pull/134278/checks |
|
Files changed
| https://github.com/python/cpython/pull/134278/files |
| Please reload this page | https://github.com/python/cpython/pull/134278/files |
|
gh-133998: Fix gzip file creation when time is out of range
| https://github.com/python/cpython/pull/134278/files#top |
|
Show all changes
11 commits
| https://github.com/python/cpython/pull/134278/files |
|
64681af
gh-133998: Fix gzip file creation when time is out of range
adang1345 May 19, 2025
| https://github.com/python/cpython/pull/134278/commits/64681af6c69ec52a76ef64877ae56851ccab5f8e |
|
3241cf2
📜🤖 Added by blurb_it.
blurb-it[bot] May 19, 2025
| https://github.com/python/cpython/pull/134278/commits/3241cf27b0ffae5843687d088f174c215603ab0f |
|
79d8a72
Remove extra newline
adang1345 May 19, 2025
| https://github.com/python/cpython/pull/134278/commits/79d8a72dd72651ba110d3c0bfa59f902e55b18fa |
|
e701310
Address review comments regarding documentation
adang1345 May 21, 2025
| https://github.com/python/cpython/pull/134278/commits/e701310c970ec9e723cc173f0001f34fc657e90f |
|
90a881b
Keep docstring in line with documentation
adang1345 May 21, 2025
| https://github.com/python/cpython/pull/134278/commits/90a881b888f7939fc8d9655285b44764ef6b861f |
|
9638ca0
Improve error message when mtime is out of range
adang1345 May 21, 2025
| https://github.com/python/cpython/pull/134278/commits/9638ca0fe5339ba2d7611d26e56e936f4ae4ba7e |
|
20da98a
Re-format changelog message
adang1345 May 21, 2025
| https://github.com/python/cpython/pull/134278/commits/20da98ae35facbbd12d7e567b413ed0217fda7ce |
|
79686b9
Merge branch 'main' into fix-gzip-mtime
serhiy-storchaka May 21, 2026
| https://github.com/python/cpython/pull/134278/commits/79686b98eda3f270168c0a9a0dd8c7492a3caed4 |
|
ff424fc
Reset out-of-range mtime to 0 even if explicitly provided.
serhiy-storchaka May 21, 2026
| https://github.com/python/cpython/pull/134278/commits/ff424fca93fc557b6d330ab36ae4a650e98f6473 |
|
52acf9e
Fix also gzip.compress().
serhiy-storchaka May 21, 2026
| https://github.com/python/cpython/pull/134278/commits/52acf9e3dbcbc2d8add5ba08a64c4221666c1a88 |
|
e4e7d53
Update docs.
serhiy-storchaka May 21, 2026
| https://github.com/python/cpython/pull/134278/commits/e4e7d535e8078321cd6bb3ff5c4e8e13897e7be7 |
|
Clear filters
| https://github.com/python/cpython/pull/134278/files |
| Please reload this page | https://github.com/python/cpython/pull/134278/files |
| Please reload this page | https://github.com/python/cpython/pull/134278/files |
|
gzip.rst
| https://github.com/python/cpython/pull/134278/files#diff-d42a66816afb6606c8e25343bf1e1779727b540e73c6cca23af979743c5a5f08 |
|
gzip.py
| https://github.com/python/cpython/pull/134278/files#diff-ad9b54ac8ef847cbb11fb0550f7e8cede55b1d92de15899e0a885a94a124838a |
|
test_gzip.py
| https://github.com/python/cpython/pull/134278/files#diff-9929cddaa6d51e36fc67f9426bd70f73aa995b01f4ce0a5d9b93c83a3a5c4587 |
|
2025-05-19-20-29-35.gh-issue-133998.KmElUw.rst
| https://github.com/python/cpython/pull/134278/files#diff-ae7f5dd8df12af928c79750312f7ca4ba960d7443be6414df56a09ac96557a88 |
| Doc/library/gzip.rst | https://github.com/python/cpython/pull/134278/files#diff-d42a66816afb6606c8e25343bf1e1779727b540e73c6cca23af979743c5a5f08 |
|
View file
| https://github.com/adang1345/cpython/blob/e4e7d535e8078321cd6bb3ff5c4e8e13897e7be7/Doc/library/gzip.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/134278/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/134278/files#diff-d42a66816afb6606c8e25343bf1e1779727b540e73c6cca23af979743c5a5f08 |
| huwcbjones | https://github.com/huwcbjones |
| May 21, 2025 | https://github.com/python/cpython/pull/134278/files#r2101087987 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/134278/files |
|
| https://github.com/python/cpython/pull/134278/files#diff-d42a66816afb6606c8e25343bf1e1779727b540e73c6cca23af979743c5a5f08 |
| Lib/gzip.py | https://github.com/python/cpython/pull/134278/files#diff-ad9b54ac8ef847cbb11fb0550f7e8cede55b1d92de15899e0a885a94a124838a |
|
View file
| https://github.com/adang1345/cpython/blob/e4e7d535e8078321cd6bb3ff5c4e8e13897e7be7/Lib/gzip.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/134278/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/134278/files#diff-ad9b54ac8ef847cbb11fb0550f7e8cede55b1d92de15899e0a885a94a124838a |
|
| https://github.com/python/cpython/pull/134278/files#diff-ad9b54ac8ef847cbb11fb0550f7e8cede55b1d92de15899e0a885a94a124838a |
|
| https://github.com/python/cpython/pull/134278/files#diff-ad9b54ac8ef847cbb11fb0550f7e8cede55b1d92de15899e0a885a94a124838a |
|
| https://github.com/python/cpython/pull/134278/files#diff-ad9b54ac8ef847cbb11fb0550f7e8cede55b1d92de15899e0a885a94a124838a |
|
| https://github.com/python/cpython/pull/134278/files#diff-ad9b54ac8ef847cbb11fb0550f7e8cede55b1d92de15899e0a885a94a124838a |
|
| https://github.com/python/cpython/pull/134278/files#diff-ad9b54ac8ef847cbb11fb0550f7e8cede55b1d92de15899e0a885a94a124838a |
| Lib/test/test_gzip.py | https://github.com/python/cpython/pull/134278/files#diff-9929cddaa6d51e36fc67f9426bd70f73aa995b01f4ce0a5d9b93c83a3a5c4587 |
|
View file
| https://github.com/adang1345/cpython/blob/e4e7d535e8078321cd6bb3ff5c4e8e13897e7be7/Lib/test/test_gzip.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/134278/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/134278/files#diff-9929cddaa6d51e36fc67f9426bd70f73aa995b01f4ce0a5d9b93c83a3a5c4587 |
|
| https://github.com/python/cpython/pull/134278/files#diff-9929cddaa6d51e36fc67f9426bd70f73aa995b01f4ce0a5d9b93c83a3a5c4587 |
|
| https://github.com/python/cpython/pull/134278/files#diff-9929cddaa6d51e36fc67f9426bd70f73aa995b01f4ce0a5d9b93c83a3a5c4587 |
| Please reload this page | https://github.com/python/cpython/pull/134278/files |
|
| https://github.com/python/cpython/pull/134278/files#diff-9929cddaa6d51e36fc67f9426bd70f73aa995b01f4ce0a5d9b93c83a3a5c4587 |
| Misc/NEWS.d/next/Library/2025-05-19-20-29-35.gh-issue-133998.KmElUw.rst | https://github.com/python/cpython/pull/134278/files#diff-ae7f5dd8df12af928c79750312f7ca4ba960d7443be6414df56a09ac96557a88 |
|
View file
| https://github.com/adang1345/cpython/blob/e4e7d535e8078321cd6bb3ff5c4e8e13897e7be7/Misc/NEWS.d/next/Library/2025-05-19-20-29-35.gh-issue-133998.KmElUw.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/134278/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/134278/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |