René's URL Explorer Experiment


Title: gh-161452: Fix `python -m random` with a non-positive integer input by andresdelfino · Pull Request #161453 · python/cpython · GitHub

Open Graph Title: gh-161452: Fix `python -m random` with a non-positive integer input by andresdelfino · Pull Request #161453 · python/cpython

X Title: gh-161452: Fix `python -m random` with a non-positive integer input by andresdelfino · Pull Request #161453 · python/cpython

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

Open Graph Description: When python -m random gets a single integer input, main() called randint() inside the try block that converts the input with int(). For an integer N <= 0, the ValueError that randint() raises fo...

X Description: When python -m random gets a single integer input, main() called randint() inside the try block that converts the input with int(). For an integer N &lt;= 0, the ValueError that randint() raise...

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

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:6ba7d219-6fdc-f1d2-10f9-a862dcb63614
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9236:19AA62:3C672D7:4C9F82C:6B0205F0
html-safe-nonce3d73bec0a35d7b1f5d42cda7594361eb938163b4acbcce7c68c7cb16c0e786e5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjM2OjE5QUE2MjozQzY3MkQ3OjRDOUY4MkM6NkIwMjA1RjAiLCJ2aXNpdG9yX2lkIjoiMjEwNTY4MzYzNjUwMTIxODgwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9c5f52ea1cc6e29ccdcb63e4c385171073b26998733bae7cda178fd11f48f045
hovercard-subject-tagpull_request:5179671776
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/161453/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b9bd644cb563f6270e8688d08a16b1091a6a7564b1b1463b33fd424d484e18e1/python/cpython/pull/161453
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b9bd644cb563f6270e8688d08a16b1091a6a7564b1b1463b33fd424d484e18e1/python/cpython/pull/161453
og:image:altWhen python -m random gets a single integer input, main() called randint() inside the try block that converts the input with int(). For an integer N <= 0, the ValueError that randint() raises fo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameandresdelfino
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/161453#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F161453
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%2F161453
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/161453
Reloadhttps://github.com/python/cpython/pull/161453
Reloadhttps://github.com/python/cpython/pull/161453
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
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
andresdelfino:random-cli-nonpositive-integerhttps://github.com/andresdelfino/cpython/tree/random-cli-nonpositive-integer
Conversationhttps://github.com/python/cpython/pull/161453
Commits7 (7)https://github.com/python/cpython/pull/161453/commits
Checkshttps://github.com/python/cpython/pull/161453/checks
Files changedhttps://github.com/python/cpython/pull/161453/files
gh-161452: Fix python -m random with a non-positive integer inputhttps://github.com/python/cpython/pull/161453#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
andresdelfino:random-cli-nonpositive-integerhttps://github.com/andresdelfino/cpython/tree/random-cli-nonpositive-integer
https://github.com/andresdelfino
andresdelfinohttps://github.com/andresdelfino
Nov 5, 2026https://github.com/python/cpython/pull/161453#issue-6232789010
Please reload this pagehttps://github.com/python/cpython/pull/161453
Claude Codehttps://claude.com/claude-code
python -m random N prints a float for an integer N <= 0 #161452https://github.com/python/cpython/issues/161452
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/andresdelfino
https://github.com/claude
pythongh-161452https://github.com/python/cpython/issues/161452
: Fix python -m random with a non-positive integer inputhttps://github.com/python/cpython/pull/161453/commits/5ee6049db755cf6077c61a2e1cb71f95318bce24
5ee6049https://github.com/python/cpython/pull/161453/commits/5ee6049db755cf6077c61a2e1cb71f95318bce24
https://github.com/andresdelfino
andresdelfinohttps://github.com/andresdelfino
rhettingerhttps://github.com/rhettinger
code ownerhttps://github.com/python/cpython/blob/d7465429a2becbdf08561585b2acebc9de2ebf2d/.github/CODEOWNERS#L571
November 5, 2026 22:27https://github.com/python/cpython/pull/161453#event-35293296875
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 5, 2026https://github.com/python/cpython/pull/161453#event-35293302443
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 5, 2026 https://github.com/python/cpython/pull/161453#ref-issue-6232777016
python -m random N prints a float for an integer N <= 0 #161452 https://github.com/python/cpython/issues/161452
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Nov 5, 2026 https://github.com/python/cpython/pull/161453#pullrequestreview-5793448052
View reviewed changes https://github.com/python/cpython/pull/161453/files/5ee6049db755cf6077c61a2e1cb71f95318bce24
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 5, 2026https://github.com/python/cpython/pull/161453#event-35296223463
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Nov 6, 2026 https://github.com/python/cpython/pull/161453#pullrequestreview-5794337008
View reviewed changes https://github.com/python/cpython/pull/161453/files/5ee6049db755cf6077c61a2e1cb71f95318bce24
Lib/random.pyhttps://github.com/python/cpython/pull/161453/files/5ee6049db755cf6077c61a2e1cb71f95318bce24#diff-851cf2d8d99b6d8dee26acc31319431dce51dbe26e3e56494d9b4c45edd8e11f
gvanrossumhttps://github.com/gvanrossum
Nov 6, 2026https://github.com/python/cpython/pull/161453#discussion_r4487893343
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
skirpichevhttps://github.com/skirpichev
Nov 6, 2026https://github.com/python/cpython/pull/161453#discussion_r4487994850
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
andresdelfinohttps://github.com/andresdelfino
Nov 6, 2026https://github.com/python/cpython/pull/161453#discussion_r4488104563
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
vstinnerhttps://github.com/vstinner
Nov 6, 2026https://github.com/python/cpython/pull/161453#discussion_r4494459390
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@gvanrossumhttps://github.com/gvanrossum
Please reload this pagehttps://github.com/python/cpython/pull/161453
andresdelfinohttps://github.com/andresdelfino
Nov 7, 2026https://github.com/python/cpython/pull/161453#discussion_r4499181079
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 6, 2026 https://github.com/python/cpython/pull/161453#pullrequestreview-5802846208
View reviewed changes https://github.com/python/cpython/pull/161453/files/5ee6049db755cf6077c61a2e1cb71f95318bce24
vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/python/cpython/pull/161453#pullrequestreview-5802846208
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://docs.python.org/dev/library/random.html#command-line-usagehttps://docs.python.org/dev/library/random.html#command-line-usage
@hugovkhttps://github.com/hugovk
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Nov 6, 2026https://github.com/python/cpython/pull/161453#issuecomment-6690347808
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
November 6, 2026 17:06https://github.com/python/cpython/pull/161453#event-35371255427
https://github.com/andresdelfino
https://github.com/claude
Address review: use else block and report a short CLI errorhttps://github.com/python/cpython/pull/161453/commits/7443cc8a6ebdbe2074dc041bca61bb54a6824dc5
7443cc8https://github.com/python/cpython/pull/161453/commits/7443cc8a6ebdbe2074dc041bca61bb54a6824dc5
https://github.com/andresdelfino
andresdelfinohttps://github.com/andresdelfino
Nov 7, 2026https://github.com/python/cpython/pull/161453#issuecomment-6699893793
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 7, 2026 https://github.com/python/cpython/pull/161453#pullrequestreview-5809077971
View reviewed changes https://github.com/python/cpython/pull/161453/files/7443cc8a6ebdbe2074dc041bca61bb54a6824dc5
Lib/test/test_random.pyhttps://github.com/python/cpython/pull/161453/files/7443cc8a6ebdbe2074dc041bca61bb54a6824dc5#diff-aaebf638f7ed6fb71bd1b82f18d5ef343db5b52137304a86fdcd1dd176e9eda9
Please reload this pagehttps://github.com/python/cpython/pull/161453
Lib/test/test_random.pyhttps://github.com/python/cpython/pull/161453/files/7443cc8a6ebdbe2074dc041bca61bb54a6824dc5#diff-aaebf638f7ed6fb71bd1b82f18d5ef343db5b52137304a86fdcd1dd176e9eda9
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 7, 2026https://github.com/python/cpython/pull/161453#issuecomment-6700341736
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
stale reviewhttps://github.com/python/cpython/pull/161453#pullrequestreview-5793448052
November 7, 2026 02:06https://github.com/python/cpython/pull/161453#event-35407977568
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Nov 7, 2026https://github.com/python/cpython/pull/161453#event-35407980748
andresdelfinohttps://github.com/andresdelfino
November 6, 2026 23:11https://github.com/python/cpython/pull/161453#commits-pushed-a4053f7
https://github.com/andresdelfino
https://github.com/vstinner
Update Lib/test/test_random.pyhttps://github.com/python/cpython/pull/161453/commits/a4053f7d6be25b99c12d507f94745caa82879c5d
a4053f7https://github.com/python/cpython/pull/161453/commits/a4053f7d6be25b99c12d507f94745caa82879c5d
https://github.com/andresdelfino
Remove test_main_empty_integer_rangehttps://github.com/python/cpython/pull/161453/commits/a61d062af203f199bc907a592106eaf1eac2688e
a61d062https://github.com/python/cpython/pull/161453/commits/a61d062af203f199bc907a592106eaf1eac2688e
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 7, 2026 https://github.com/python/cpython/pull/161453#pullrequestreview-5809481127
View reviewed changes https://github.com/python/cpython/pull/161453/files/a61d062af203f199bc907a592106eaf1eac2688e
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/161453#pullrequestreview-5809481127
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
Lib/random.pyhttps://github.com/python/cpython/pull/161453/files/a61d062af203f199bc907a592106eaf1eac2688e#diff-851cf2d8d99b6d8dee26acc31319431dce51dbe26e3e56494d9b4c45edd8e11f
vstinnerhttps://github.com/vstinner
Nov 7, 2026https://github.com/python/cpython/pull/161453#discussion_r4499600326
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
andresdelfinohttps://github.com/andresdelfino
Nov 7, 2026https://github.com/python/cpython/pull/161453#discussion_r4499779814
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
vstinnerhttps://github.com/vstinner
Nov 7, 2026https://github.com/python/cpython/pull/161453#discussion_r4499901491
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
andresdelfinohttps://github.com/andresdelfino
Nov 8, 2026https://github.com/python/cpython/pull/161453#discussion_r4504243732
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
andresdelfinohttps://github.com/andresdelfino
Nov 8, 2026https://github.com/python/cpython/pull/161453#discussion_r4507325049
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 7, 2026https://github.com/python/cpython/pull/161453#event-35408787895
https://github.com/andresdelfino
https://github.com/claude
Move CLI error handling into random.main()https://github.com/python/cpython/pull/161453/commits/cc6938f33afdb8f13c776440e9c7d4b25690c43a
cc6938fhttps://github.com/python/cpython/pull/161453/commits/cc6938f33afdb8f13c776440e9c7d4b25690c43a
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 8, 2026 https://github.com/python/cpython/pull/161453#pullrequestreview-5819424672
View reviewed changes https://github.com/python/cpython/pull/161453/files/cc6938f33afdb8f13c776440e9c7d4b25690c43a
Lib/test/test_random.pyhttps://github.com/python/cpython/pull/161453/files/cc6938f33afdb8f13c776440e9c7d4b25690c43a#diff-aaebf638f7ed6fb71bd1b82f18d5ef343db5b52137304a86fdcd1dd176e9eda9
vstinnerhttps://github.com/vstinner
Nov 8, 2026https://github.com/python/cpython/pull/161453#discussion_r4507591406
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
Misc/NEWS.d/next/Library/2026-11-05-22-26-44.gh-issue-161452.YfFfjq.rsthttps://github.com/python/cpython/pull/161453/files/cc6938f33afdb8f13c776440e9c7d4b25690c43a#diff-a16f48729f7a5bd976f771f760be479182bcca17b5e790233c317ac5583a1268
vstinnerhttps://github.com/vstinner
Nov 8, 2026https://github.com/python/cpython/pull/161453#discussion_r4507593939
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
Lib/test/test_random.pyhttps://github.com/python/cpython/pull/161453/files/cc6938f33afdb8f13c776440e9c7d4b25690c43a#diff-aaebf638f7ed6fb71bd1b82f18d5ef343db5b52137304a86fdcd1dd176e9eda9
vstinnerhttps://github.com/vstinner
Nov 8, 2026https://github.com/python/cpython/pull/161453#discussion_r4507596059
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
Lib/test/test_random.pyhttps://github.com/python/cpython/pull/161453/files/cc6938f33afdb8f13c776440e9c7d4b25690c43a#diff-aaebf638f7ed6fb71bd1b82f18d5ef343db5b52137304a86fdcd1dd176e9eda9
vstinnerhttps://github.com/vstinner
Nov 8, 2026https://github.com/python/cpython/pull/161453#discussion_r4507597813
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Nov 8, 2026https://github.com/python/cpython/pull/161453#issuecomment-6726581395
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/andresdelfino
https://github.com/claude
Report non-positive integers with parser.error()https://github.com/python/cpython/pull/161453/commits/bd1b41e6a3e02142491e7bb4957e94921130a06d
bd1b41ehttps://github.com/python/cpython/pull/161453/commits/bd1b41e6a3e02142491e7bb4957e94921130a06d
https://github.com/andresdelfino
andresdelfinohttps://github.com/andresdelfino
Nov 8, 2026https://github.com/python/cpython/pull/161453#issuecomment-6726828672
@hugovkhttps://github.com/hugovk
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Nov 8, 2026 https://github.com/python/cpython/pull/161453#pullrequestreview-5819585802
View reviewed changes https://github.com/python/cpython/pull/161453/files/bd1b41e6a3e02142491e7bb4957e94921130a06d
hugovkhttps://github.com/hugovk
https://github.com/python/cpython/pull/161453#pullrequestreview-5819585802
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
Lib/test/test_random.pyhttps://github.com/python/cpython/pull/161453/files/bd1b41e6a3e02142491e7bb4957e94921130a06d#diff-aaebf638f7ed6fb71bd1b82f18d5ef343db5b52137304a86fdcd1dd176e9eda9
hugovkhttps://github.com/hugovk
Nov 8, 2026https://github.com/python/cpython/pull/161453#discussion_r4507728732
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
andresdelfinohttps://github.com/andresdelfino
Nov 8, 2026https://github.com/python/cpython/pull/161453#discussion_r4507753604
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/andresdelfino
Do not test argparsehttps://github.com/python/cpython/pull/161453/commits/baa144177936bae4e3a2dbc3c92a5c5f41d34b25
baa1441https://github.com/python/cpython/pull/161453/commits/baa144177936bae4e3a2dbc3c92a5c5f41d34b25
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
11eed55https://github.com/python/cpython/commit/11eed559c09ecfaddd87dbf9c10fbe742f0f57de
Nov 13, 2026https://github.com/python/cpython/pull/161453#event-36049013008
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Nov 13, 2026https://github.com/python/cpython/pull/161453#event-36049020471
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Nov 13, 2026https://github.com/python/cpython/pull/161453#event-36049072015
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Nov 13, 2026https://github.com/python/cpython/pull/161453#issuecomment-6858538965
@andresdelfinohttps://github.com/andresdelfino
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Nov 13, 2026https://github.com/python/cpython/pull/161453#issuecomment-6858539163
@andresdelfinohttps://github.com/andresdelfino
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 13, 2026https://github.com/python/cpython/pull/161453#issuecomment-6858543204
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 13, 2026https://github.com/python/cpython/pull/161453#issuecomment-6858543381
GH-161942https://github.com/python/cpython/pull/161942
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Nov 13, 2026https://github.com/python/cpython/pull/161453#event-36049099245
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 13, 2026https://github.com/python/cpython/pull/161453#issuecomment-6858546226
GH-161943https://github.com/python/cpython/pull/161943
3.15 branchhttps://github.com/python/cpython/tree/3.15
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Nov 13, 2026https://github.com/python/cpython/pull/161453#event-36049111172
vstinnerhttps://github.com/vstinner
Nov 13, 2026 https://github.com/python/cpython/pull/161453#ref-commit-10c7ce8
https://github.com/miss-islington
https://github.com/andresdelfino
https://github.com/claude
https://github.com/vstinner
[3.15]https://github.com/python/cpython/commit/10c7ce814f4245da6a2ac9010c08a8a23d100bca
gh-161452https://github.com/python/cpython/issues/161452
: Fixhttps://github.com/python/cpython/commit/10c7ce814f4245da6a2ac9010c08a8a23d100bca
python -m randomhttps://github.com/python/cpython/commit/10c7ce814f4245da6a2ac9010c08a8a23d100bca
with a non-positive integer …https://github.com/python/cpython/commit/10c7ce814f4245da6a2ac9010c08a8a23d100bca
10c7ce8https://github.com/python/cpython/commit/10c7ce814f4245da6a2ac9010c08a8a23d100bca
GH-161453https://github.com/python/cpython/pull/161453
#161943https://github.com/python/cpython/pull/161943
gh-161452https://github.com/python/cpython/issues/161452
GH-161453https://github.com/python/cpython/pull/161453
11eed55https://github.com/python/cpython/commit/11eed559c09ecfaddd87dbf9c10fbe742f0f57de
vstinnerhttps://github.com/vstinner
Nov 13, 2026 https://github.com/python/cpython/pull/161453#ref-commit-65dfc16
https://github.com/miss-islington
https://github.com/andresdelfino
https://github.com/claude
https://github.com/vstinner
[3.14]https://github.com/python/cpython/commit/65dfc1670a48efb0dd0023fef0f1f8fad485c6fd
gh-161452https://github.com/python/cpython/issues/161452
: Fixhttps://github.com/python/cpython/commit/65dfc1670a48efb0dd0023fef0f1f8fad485c6fd
python -m randomhttps://github.com/python/cpython/commit/65dfc1670a48efb0dd0023fef0f1f8fad485c6fd
with a non-positive integer …https://github.com/python/cpython/commit/65dfc1670a48efb0dd0023fef0f1f8fad485c6fd
65dfc16https://github.com/python/cpython/commit/65dfc1670a48efb0dd0023fef0f1f8fad485c6fd
GH-161453https://github.com/python/cpython/pull/161453
#161942https://github.com/python/cpython/pull/161942
gh-161452https://github.com/python/cpython/issues/161452
GH-161453https://github.com/python/cpython/pull/161453
11eed55https://github.com/python/cpython/commit/11eed559c09ecfaddd87dbf9c10fbe742f0f57de
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%2F161453
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/161453/files/cc6938f33afdb8f13c776440e9c7d4b25690c43a
https://github.com/skirpichev
skirpichev https://github.com/skirpichev
https://github.com/python/cpython/pull/161453/files/5ee6049db755cf6077c61a2e1cb71f95318bce24
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/cpython/pull/161453/files/5ee6049db755cf6077c61a2e1cb71f95318bce24
https://github.com/hugovk
hugovk https://github.com/hugovk
https://github.com/python/cpython/pull/161453/files/bd1b41e6a3e02142491e7bb4957e94921130a06d
Please reload this pagehttps://github.com/python/cpython/pull/161453
Please reload this pagehttps://github.com/python/cpython/pull/161453
https://github.com/andresdelfino
https://github.com/hugovk
https://github.com/vstinner
https://github.com/skirpichev
https://github.com/gvanrossum
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.