René's URL Explorer Experiment


Title: gh-107862: Add property tests for strftime/strptime by pganssle · Pull Request #124550 · python/cpython · GitHub

Open Graph Title: gh-107862: Add property tests for strftime/strptime by pganssle · Pull Request #124550 · python/cpython

X Title: gh-107862: Add property tests for strftime/strptime by pganssle · Pull Request #124550 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: This adds a new test for strptime / strftime that uses hypothesis to ensure that some inverse relationships hold. While creating it I found several bugs: #124531, #124529 and #124549. I am hoping t...

X Description: This adds a new test for strptime / strftime that uses hypothesis to ensure that some inverse relationships hold. While creating it I found several bugs: #124531, #124529 and #124549. I am hoping t...

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

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:db0a4472-d816-596a-52e6-25267307e929
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id96E2:65478:372C26D:493395A:6B020425
html-safe-nonce116d5f3f463e92a813dc4f6a3743b6dcc1ed7dcb6b23e824055f39c1c66d659f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkUyOjY1NDc4OjM3MkMyNkQ6NDkzMzk1QTo2QjAyMDQyNSIsInZpc2l0b3JfaWQiOiIxOTg1NjMzMjc5MDMzODY5MzQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2e15a9a616abdc226e7432c76f6661d2c6529952e4034472c288590a40c98e08
hovercard-subject-tagpull_request:2092332246
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/cpython/124550/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/785eb83d3d88bbb97bd4d006e2b2a69a866b917052581af32ec302054e1f3aed/python/cpython/pull/124550
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/785eb83d3d88bbb97bd4d006e2b2a69a866b917052581af32ec302054e1f3aed/python/cpython/pull/124550
og:image:altThis adds a new test for strptime / strftime that uses hypothesis to ensure that some inverse relationships hold. While creating it I found several bugs: #124531, #124529 and #124549. I am hoping t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepganssle
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/124550#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F124550
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%2Fcpython%2Fpull%2F124550
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%2Fcpython
Reloadhttps://github.com/python/cpython/pull/124550
Reloadhttps://github.com/python/cpython/pull/124550
Reloadhttps://github.com/python/cpython/pull/124550
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
pgansslehttps://github.com/pganssle
python:mainhttps://github.com/python/cpython/tree/main
pganssle:strftime_hypothesishttps://github.com/pganssle/cpython/tree/strftime_hypothesis
Conversationhttps://github.com/python/cpython/pull/124550
Commits14 (14)https://github.com/python/cpython/pull/124550/commits
Checkshttps://github.com/python/cpython/pull/124550/checks
Files changedhttps://github.com/python/cpython/pull/124550/files
gh-107862: Add property tests for strftime/strptimehttps://github.com/python/cpython/pull/124550#top
pgansslehttps://github.com/pganssle
python:mainhttps://github.com/python/cpython/tree/main
pganssle:strftime_hypothesishttps://github.com/pganssle/cpython/tree/strftime_hypothesis
https://github.com/pganssle
pgansslehttps://github.com/pganssle
Sep 25, 2024https://github.com/python/cpython/pull/124550#issue-2549019063
Please reload this pagehttps://github.com/python/cpython/pull/124550
#124531https://github.com/python/cpython/issues/124531
#124529https://github.com/python/cpython/issues/124529
#124549https://github.com/python/cpython/issues/124549
#120752https://github.com/python/cpython/pull/120752
[Meta] Research: what can we test with Hypothesis? #107862https://github.com/python/cpython/issues/107862
Please reload this pagehttps://github.com/python/cpython/pull/124550
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Sep 25, 2024https://github.com/python/cpython/pull/124550#event-14406187229
https://github.com/pganssle
pgansslehttps://github.com/pganssle
force-pushedhttps://github.com/python/cpython/compare/9140d68d0fbab94d4ebef8dde75b791257d15fce..bc0286c0ba168593559b554eb23fccbbe073e4df
9140d68https://github.com/python/cpython/commit/9140d68d0fbab94d4ebef8dde75b791257d15fce
bc0286chttps://github.com/python/cpython/commit/bc0286c0ba168593559b554eb23fccbbe073e4df
Compare https://github.com/python/cpython/compare/9140d68d0fbab94d4ebef8dde75b791257d15fce..bc0286c0ba168593559b554eb23fccbbe073e4df
September 25, 2024 22:11https://github.com/python/cpython/pull/124550#event-14406598686
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Sep 16, 2025https://github.com/python/cpython/pull/124550#event-19732019315
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 16, 2025 https://github.com/python/cpython/pull/124550#ref-issue-1846606929
[Meta] Research: what can we test with Hypothesis? #107862 https://github.com/python/cpython/issues/107862
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Sep 16, 2025https://github.com/python/cpython/pull/124550#issuecomment-3299677856
#107862https://github.com/python/cpython/issues/107862
Please reload this pagehttps://github.com/python/cpython/pull/124550
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Sep 16, 2025https://github.com/python/cpython/pull/124550#event-19732025017
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Mar 18, 2026 https://github.com/python/cpython/pull/124550#ref-pullrequest-3959879883
Improve fuzz coverage python/library-fuzzers#8 https://github.com/python/library-fuzzers/pull/8
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 18, 2026https://github.com/python/cpython/pull/124550#issuecomment-4273612188
Please reload this pagehttps://github.com/python/cpython/pull/124550
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Apr 18, 2026https://github.com/python/cpython/pull/124550#event-24636623827
https://github.com/tonghuaroot
tonghuaroothttps://github.com/tonghuaroot
Jun 25, 2026 https://github.com/python/cpython/pull/124550#ref-issue-4735108937
datetime.fromisoformat() (C) drops the sub-second part of a UTC offset, breaking round-trips #152079 https://github.com/python/cpython/issues/152079
pgansslehttps://github.com/pganssle
September 26, 2026 15:52https://github.com/python/cpython/pull/124550#commits-pushed-9893d09
https://github.com/pganssle
Add property tests for strftime/strptimehttps://github.com/python/cpython/pull/124550/commits/9893d092386495461051f7d19ce31271657a5a7a
9893d09https://github.com/python/cpython/pull/124550/commits/9893d092386495461051f7d19ce31271657a5a7a
https://github.com/pganssle
Run datetime property examples without Hypothesishttps://github.com/python/cpython/pull/124550/commits/7e987808e4535b16d8e3406cdd09ce1614c84d46
7e98780https://github.com/python/cpython/pull/124550/commits/7e987808e4535b16d8e3406cdd09ce1614c84d46
https://github.com/pganssle
Run datetime property tests against both implementationshttps://github.com/python/cpython/pull/124550/commits/4905a3712ab6346e9d19e29df7777cd6417daf3c
4905a37https://github.com/python/cpython/pull/124550/commits/4905a3712ab6346e9d19e29df7777cd6417daf3c
https://github.com/pganssle
fixup! Add property tests for strftime/strptimehttps://github.com/python/cpython/pull/124550/commits/ad213ec6ddc3fc3dd996bf382aa3d6eb2d9456b2
ad213echttps://github.com/python/cpython/pull/124550/commits/ad213ec6ddc3fc3dd996bf382aa3d6eb2d9456b2
https://github.com/pganssle
Add strptime calendar representation property testshttps://github.com/python/cpython/pull/124550/commits/f3e48339ed288ec5a650ea3a5f32ec03f4b40253
f3e4833https://github.com/python/cpython/pull/124550/commits/f3e48339ed288ec5a650ea3a5f32ec03f4b40253
https://github.com/pganssle
Add strptime fraction and UTC offset property testshttps://github.com/python/cpython/pull/124550/commits/9ea08b84ffd3b97581625faebd231ecde87c5854
9ea08b8https://github.com/python/cpython/pull/124550/commits/9ea08b84ffd3b97581625faebd231ecde87c5854
https://github.com/pganssle
Add strptime invalid-field property testshttps://github.com/python/cpython/pull/124550/commits/9fe9f3cf8a7cdaa9b530975985fc2d6b14008de2
9fe9f3chttps://github.com/python/cpython/pull/124550/commits/9fe9f3cf8a7cdaa9b530975985fc2d6b14008de2
https://github.com/pganssle
Add strptime name and literal property testshttps://github.com/python/cpython/pull/124550/commits/ec8316541ff8795ba389ce8d31487f819a0caeb7
ec83165https://github.com/python/cpython/pull/124550/commits/ec8316541ff8795ba389ce8d31487f819a0caeb7
https://github.com/pganssle
Add strptime public entry point property testshttps://github.com/python/cpython/pull/124550/commits/81c0aca017c6c7cfdb6cf730ff6ebd195506cc4c
81c0acahttps://github.com/python/cpython/pull/124550/commits/81c0aca017c6c7cfdb6cf730ff6ebd195506cc4c
https://github.com/pganssle
Add expected failure for strptime rollover metadatahttps://github.com/python/cpython/pull/124550/commits/a85c9c78201b11c498dd5f8ababf5867826df446
a85c9c7https://github.com/python/cpython/pull/124550/commits/a85c9c78201b11c498dd5f8ababf5867826df446
https://github.com/pganssle
Add expected failure for repeated strptime directive errorshttps://github.com/python/cpython/pull/124550/commits/22ab46e971b566dedcdcd20fd6d275e68f8b546c
22ab46ehttps://github.com/python/cpython/pull/124550/commits/22ab46e971b566dedcdcd20fd6d275e68f8b546c
https://github.com/pganssle
Add strptime locale cache property testshttps://github.com/python/cpython/pull/124550/commits/b38cd94f6ca0faff5e893dc09772c50d4130ad97
b38cd94https://github.com/python/cpython/pull/124550/commits/b38cd94f6ca0faff5e893dc09772c50d4130ad97
https://github.com/pganssle
Add strptime redundant directive ordering property testshttps://github.com/python/cpython/pull/124550/commits/b43a3f54673e03fb6f0015a284daa7f3d96e014b
b43a3f5https://github.com/python/cpython/pull/124550/commits/b43a3f54673e03fb6f0015a284daa7f3d96e014b
https://github.com/pganssle
pgansslehttps://github.com/pganssle
force-pushedhttps://github.com/python/cpython/compare/bc0286c0ba168593559b554eb23fccbbe073e4df..b43a3f54673e03fb6f0015a284daa7f3d96e014b
bc0286chttps://github.com/python/cpython/commit/bc0286c0ba168593559b554eb23fccbbe073e4df
b43a3f5https://github.com/python/cpython/commit/b43a3f54673e03fb6f0015a284daa7f3d96e014b
Compare https://github.com/python/cpython/compare/bc0286c0ba168593559b554eb23fccbbe073e4df..b43a3f54673e03fb6f0015a284daa7f3d96e014b
September 26, 2026 22:13https://github.com/python/cpython/pull/124550#event-31908401955
https://github.com/pganssle
fixup! Add expected failure for strptime rollover metadatahttps://github.com/python/cpython/pull/124550/commits/609ed13934095a150b644cfed1ad7e08f4f579de
609ed13https://github.com/python/cpython/pull/124550/commits/609ed13934095a150b644cfed1ad7e08f4f579de
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Oct 1, 2026https://github.com/python/cpython/pull/124550#event-32276611717
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Nov 9, 2026 https://github.com/python/cpython/pull/124550#ref-pullrequest-6282878140
OSS-Fuzz: Add new fuzzer/dict/corpus/scripts targets datetime processing python/library-fuzzers#63 https://github.com/python/library-fuzzers/pull/63
https://github.co/hiddenchars
https://github.com/python/cpython/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%2Fcpython%2Fpull%2F124550
Please reload this pagehttps://github.com/python/cpython/pull/124550
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Please reload this pagehttps://github.com/python/cpython/pull/124550
https://github.com/pganssle
https://github.com/StanFromIreland
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.