| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d02b8afd-98e4-50d9-b6ff-90e8db920f50 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D970:5CED0:E30E:133A4:6A4D24EA |
| html-safe-nonce | 5147c031afc85c5096bcb5a67cf077b39a7f4d0bd20d77bc7911d720ef0a9635 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTcwOjVDRUQwOkUzMEU6MTMzQTQ6NkE0RDI0RUEiLCJ2aXNpdG9yX2lkIjoiNDA1MjYzOTcwNjczMDI3NjA3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e14a577ddb5954913b357b637a2f16ee2f76628d1cee17b8378d0d0324a763ac |
| hovercard-subject-tag | pull_request:156259816 |
| 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/4699/files |
| twitter:image | https://avatars.githubusercontent.com/u/1377457?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1377457?s=400&v=4 |
| og:image:alt | Per discussion on the python-dev mailing list, this is a C implementation of fromisoformat as alternate constructors for datetime, date and time, resolving this issue.
If it is deemed desirable, it... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| 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 | 93f17a978ee60bc4668e1d7b90e6bd2d622261fd |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/4699/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4699%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/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/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/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%2F4699%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/4699/files |
| Reload | https://github.com/python/cpython/pull/4699/files |
| Reload | https://github.com/python/cpython/pull/4699/files |
| Please reload this page | https://github.com/python/cpython/pull/4699/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/4699/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.6k
| 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 |
| abalkin | https://github.com/abalkin |
| python:master | https://github.com/python/cpython/tree/master |
| pganssle:from_isoformat | https://github.com/pganssle/cpython/tree/from_isoformat |
|
Conversation
54
| https://github.com/python/cpython/pull/4699 |
|
Commits
21
| https://github.com/python/cpython/pull/4699/commits |
|
Checks
0
| https://github.com/python/cpython/pull/4699/checks |
|
Files changed
| https://github.com/python/cpython/pull/4699/files |
| Please reload this page | https://github.com/python/cpython/pull/4699/files |
|
bpo-15873: Implement [date][time].fromisoformat
| https://github.com/python/cpython/pull/4699/files#top |
|
Show all changes
21 commits
| https://github.com/python/cpython/pull/4699/files |
|
b451a83
Add C implementation of date.fromisoformat
pganssle Dec 1, 2017
| https://github.com/python/cpython/pull/4699/commits/b451a83620d12024fe3e0d78cb74d3f9a6204e49 |
|
4ccef0a
Add python implementation of date.fromisoformat
pganssle Dec 1, 2017
| https://github.com/python/cpython/pull/4699/commits/4ccef0a380a839e66171ec5e4b2f0eef2cd51773 |
|
13e8e48
Add tests for date.fromisoformat
pganssle Dec 1, 2017
| https://github.com/python/cpython/pull/4699/commits/13e8e48bb438281f1fe88882b1bd4a40af318771 |
|
6fa5c55
Implement C version of datetime.fromisoformat
pganssle Dec 2, 2017
| https://github.com/python/cpython/pull/4699/commits/6fa5c557d9ff8276aa8f35fbfaf3a19e522a95a2 |
|
0d44220
Add initial test suite for C-only datetime.fromisoformat
pganssle Dec 2, 2017
| https://github.com/python/cpython/pull/4699/commits/0d44220dc96d1c06291c76cd6a49913868d984ee |
|
327d0fc
Add C implementation of time.fromisoformat()
pganssle Dec 4, 2017
| https://github.com/python/cpython/pull/4699/commits/327d0fc2bca061f596212e913671d0c653963be2 |
|
52b2175
Add tests for time.isoformat()
pganssle Dec 4, 2017
| https://github.com/python/cpython/pull/4699/commits/52b2175918d4426ca8cbf70d80b018afdac19a58 |
|
f1b78af
Add pure python implementation of time.fromisoformat()
pganssle Dec 4, 2017
| https://github.com/python/cpython/pull/4699/commits/f1b78af608d1275058badf4a3eb18837148e1faa |
|
aeaa9ca
Add tests for pure python time.fromisoformat()
pganssle Dec 4, 2017
| https://github.com/python/cpython/pull/4699/commits/aeaa9ca2a657d2dc98b0bd168b784ab0707d36f0 |
|
094ccf4
Add pure python implementation of datetime.fromisoformat
pganssle Dec 4, 2017
| https://github.com/python/cpython/pull/4699/commits/094ccf4368118af8e8f4867278d93ff85db3aa5f |
|
2a8120d
Enable tests for pure python datetime.fromisoformat
pganssle Dec 4, 2017
| https://github.com/python/cpython/pull/4699/commits/2a8120d21b7f872d12120563746f97deaad3bd09 |
|
af9e6d0
Add documentation for [date][time].fromisoformat()
pganssle Dec 4, 2017
| https://github.com/python/cpython/pull/4699/commits/af9e6d02acb5db4112fa75bfc9450a3f521d5e65 |
|
cf802af
Consolidate helper functions into parse_digits
pganssle Dec 5, 2017
| https://github.com/python/cpython/pull/4699/commits/cf802aff7492781714eb2b83854dfe79ccf71561 |
|
626d239
Refactor datetime.isoformat round trip tests
pganssle Dec 5, 2017
| https://github.com/python/cpython/pull/4699/commits/626d239b911565825cf47a683425506c51aed731 |
|
7c771e7
Refactor C code for PEP 7
pganssle Dec 5, 2017
| https://github.com/python/cpython/pull/4699/commits/7c771e73c411635394908ebe904803415337a7ea |
|
8fbd752
Add support for seconds in fromisoformat offsets
pganssle Dec 6, 2017
| https://github.com/python/cpython/pull/4699/commits/8fbd75224709d8f458be58615f31ea14b4f97e3e |
|
4d55e05
Fix pure python implementation of isoformat() for sub-second zones
pganssle Dec 9, 2017
| https://github.com/python/cpython/pull/4699/commits/4d55e050a41b643b3c6ddf32688d3859386c29aa |
|
5a233fb
Add support for subsecond offsets to fromisoformat
pganssle Dec 9, 2017
| https://github.com/python/cpython/pull/4699/commits/5a233fb42c9c9e4b905d62a5c6f250752e74e14b |
|
9fa91db
Fix documentation and pure python error catching in fromisoformat
pganssle Dec 18, 2017
| https://github.com/python/cpython/pull/4699/commits/9fa91db1b718d4a8377eab3afccd16c717b5085b |
|
ffdb2af
Drop unsupported sep parameter in _tzstr
pganssle Dec 18, 2017
| https://github.com/python/cpython/pull/4699/commits/ffdb2afbca78ebcf7adbf42537c7d93cf1d0bb50 |
|
18a5fa8
Add test for ambiguous isoformat strings
pganssle Dec 18, 2017
| https://github.com/python/cpython/pull/4699/commits/18a5fa84b49a56acee0c9f9ef4773b786759d1c3 |
|
Clear filters
| https://github.com/python/cpython/pull/4699/files |
| Please reload this page | https://github.com/python/cpython/pull/4699/files |
| Please reload this page | https://github.com/python/cpython/pull/4699/files |
|
datetime.rst
| https://github.com/python/cpython/pull/4699/files#diff-591e6aa401ebcd90f71f28b517b3d4437ba293920787df9ed06e037af0b07175 |
|
datetime.py
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
datetimetester.py
| https://github.com/python/cpython/pull/4699/files#diff-917d5d1d1423993f37a643afa9f2a2f9caa3c0f91e06c0d7ebea1b879d53b4ef |
|
2017-12-04-17-41-40.bpo-15873.-T4TRK.rst
| https://github.com/python/cpython/pull/4699/files#diff-67c262f6c771f2f2f9f477b7cc2405a176f2e1c271750a2ff4bd52aa61083f71 |
|
_datetimemodule.c
| https://github.com/python/cpython/pull/4699/files#diff-3ee250e3806e884518fd872e9148baf532de6ec54c1cdb4e7679fbb2869d9c47 |
| Doc/library/datetime.rst | https://github.com/python/cpython/pull/4699/files#diff-591e6aa401ebcd90f71f28b517b3d4437ba293920787df9ed06e037af0b07175 |
|
View file
| https://github.com/pganssle/cpython/blob/18a5fa84b49a56acee0c9f9ef4773b786759d1c3/Doc/library/datetime.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4699/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4699/files#diff-591e6aa401ebcd90f71f28b517b3d4437ba293920787df9ed06e037af0b07175 |
|
| https://github.com/python/cpython/pull/4699/files#diff-591e6aa401ebcd90f71f28b517b3d4437ba293920787df9ed06e037af0b07175 |
|
| https://github.com/python/cpython/pull/4699/files#diff-591e6aa401ebcd90f71f28b517b3d4437ba293920787df9ed06e037af0b07175 |
|
| https://github.com/python/cpython/pull/4699/files#diff-591e6aa401ebcd90f71f28b517b3d4437ba293920787df9ed06e037af0b07175 |
|
| https://github.com/python/cpython/pull/4699/files#diff-591e6aa401ebcd90f71f28b517b3d4437ba293920787df9ed06e037af0b07175 |
|
| https://github.com/python/cpython/pull/4699/files#diff-591e6aa401ebcd90f71f28b517b3d4437ba293920787df9ed06e037af0b07175 |
|
| https://github.com/python/cpython/pull/4699/files#diff-591e6aa401ebcd90f71f28b517b3d4437ba293920787df9ed06e037af0b07175 |
|
| https://github.com/python/cpython/pull/4699/files#diff-591e6aa401ebcd90f71f28b517b3d4437ba293920787df9ed06e037af0b07175 |
| Lib/datetime.py | https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
View file
| https://github.com/pganssle/cpython/blob/18a5fa84b49a56acee0c9f9ef4773b786759d1c3/Lib/datetime.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4699/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
| pganssle | https://github.com/pganssle |
| Dec 5, 2017 | https://github.com/python/cpython/pull/4699/files#r154831594 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4699/files |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
|
| https://github.com/python/cpython/pull/4699/files#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1 |
| Please reload this page | https://github.com/python/cpython/pull/4699/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 |