René's URL Explorer Experiment


Title: bpo-40282: Allow random.getrandbits(0) by pitrou · Pull Request #19539 · python/cpython · GitHub

Open Graph Title: bpo-40282: Allow random.getrandbits(0) by pitrou · Pull Request #19539 · python/cpython

X Title: bpo-40282: Allow random.getrandbits(0) by pitrou · Pull Request #19539 · python/cpython

Description: https://bugs.python.org/issue40282

Open Graph Description: https://bugs.python.org/issue40282

X Description: https://bugs.python.org/issue40282

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c9aaba02-7416-7330-49e8-138f733a04f2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE87A:1D772C:895626:BA8BA0:696AB6B9
html-safe-nonce7724ebe6372720c66b2cb971d2a1fa4352cf87dc89d42fb71a565745834117ee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODdBOjFENzcyQzo4OTU2MjY6QkE4QkEwOjY5NkFCNkI5IiwidmlzaXRvcl9pZCI6IjE2MTAwMjg5NDQzMzg4OTI0NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac29c803c635fd15504bf5609200439dbdf3e54dc015a2b4ecf1fda0d6d5c6d7bf
hovercard-subject-tagpull_request:403613898
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/19539/files
twitter:imagehttps://avatars.githubusercontent.com/u/1721820?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1721820?s=400&v=4
og:image:althttps://bugs.python.org/issue40282
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release41f276818bd204c4a30a0281fb3c576298d9474c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/19539/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F19539%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F19539%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
Reloadhttps://github.com/python/cpython/pull/19539/files
Reloadhttps://github.com/python/cpython/pull/19539/files
Reloadhttps://github.com/python/cpython/pull/19539/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/19539/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/19539/files
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 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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
pitrouhttps://github.com/pitrou
python:masterhttps://github.com/python/cpython/tree/master
pitrou:bpo40282-getrandbits0https://github.com/pitrou/cpython/tree/bpo40282-getrandbits0
Conversation 32 https://github.com/python/cpython/pull/19539
Commits 7 https://github.com/python/cpython/pull/19539/commits
Checks 0 https://github.com/python/cpython/pull/19539/checks
Files changed https://github.com/python/cpython/pull/19539/files
Please reload this pagehttps://github.com/python/cpython/pull/19539/files
bpo-40282: Allow random.getrandbits(0) https://github.com/python/cpython/pull/19539/files#top
Show all changes 7 commits https://github.com/python/cpython/pull/19539/files
f572b53 bpo-40282: Allow random.getrandbits(0) pitrou Apr 15, 2020 https://github.com/python/cpython/pull/19539/commits/f572b535baec4f84e1b1407ceb326133642b4bff
3153f1a Update Doc/library/random.rst pitrou Apr 15, 2020 https://github.com/python/cpython/pull/19539/commits/3153f1a231b298042fd2a187caeebdea90dace07
9cac35f Ensure _randbelow implementations raise on 0 input. pitrou Apr 15, 2020 https://github.com/python/cpython/pull/19539/commits/9cac35f8ee481aa0c8ff0c72140bdee50cc8790f
b01be91 s/positive/non-negative/ pitrou Apr 15, 2020 https://github.com/python/cpython/pull/19539/commits/b01be919a860d8abae074541161606092289e601
e7c2e99 Revert changes to choice() pitrou Apr 15, 2020 https://github.com/python/cpython/pull/19539/commits/e7c2e99ba3bef096a566b8e21d6155f8d9ed4700
5e02ef8 Update Lib/test/test_random.py pitrou Apr 15, 2020 https://github.com/python/cpython/pull/19539/commits/5e02ef88b419e1942bddf47c33548524ddab01cc
c4673f0 Apply review comments pitrou Apr 17, 2020 https://github.com/python/cpython/pull/19539/commits/c4673f025739bf186b00cd93183704230b1bf1a2
Clear filters https://github.com/python/cpython/pull/19539/files
Please reload this pagehttps://github.com/python/cpython/pull/19539/files
Please reload this pagehttps://github.com/python/cpython/pull/19539/files
random.rst https://github.com/python/cpython/pull/19539/files#diff-487697e65cad630537366129288e300806c018e1ec7613cd35909e6db5299794
random.py https://github.com/python/cpython/pull/19539/files#diff-851cf2d8d99b6d8dee26acc31319431dce51dbe26e3e56494d9b4c45edd8e11f
test_random.py https://github.com/python/cpython/pull/19539/files#diff-aaebf638f7ed6fb71bd1b82f18d5ef343db5b52137304a86fdcd1dd176e9eda9
2020-04-15-10-23-52.bpo-40282.rIYJmu.rst https://github.com/python/cpython/pull/19539/files#diff-eb6847fec38eafa3e46883071850769e826ac15798589899aa020b1f28c2df80
_randommodule.c https://github.com/python/cpython/pull/19539/files#diff-c2608f08e5410416046fb2fc953730740d0b29b26c148c2cb4a40e87212012fa
Doc/library/random.rsthttps://github.com/python/cpython/pull/19539/files#diff-487697e65cad630537366129288e300806c018e1ec7613cd35909e6db5299794
View file https://github.com/pitrou/cpython/blob/c4673f025739bf186b00cd93183704230b1bf1a2/Doc/library/random.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/19539/{{ revealButtonHref }}
https://github.com/python/cpython/pull/19539/files#diff-487697e65cad630537366129288e300806c018e1ec7613cd35909e6db5299794
Please reload this pagehttps://github.com/python/cpython/pull/19539/files
https://github.com/python/cpython/pull/19539/files#diff-487697e65cad630537366129288e300806c018e1ec7613cd35909e6db5299794
Lib/random.pyhttps://github.com/python/cpython/pull/19539/files#diff-851cf2d8d99b6d8dee26acc31319431dce51dbe26e3e56494d9b4c45edd8e11f
View file https://github.com/pitrou/cpython/blob/c4673f025739bf186b00cd93183704230b1bf1a2/Lib/random.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/19539/{{ revealButtonHref }}
https://github.com/python/cpython/pull/19539/files#diff-851cf2d8d99b6d8dee26acc31319431dce51dbe26e3e56494d9b4c45edd8e11f
serhiy-storchakahttps://github.com/serhiy-storchaka
Apr 15, 2020https://github.com/python/cpython/pull/19539/files#r408692417
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/19539/files
pitrouhttps://github.com/pitrou
Apr 15, 2020https://github.com/python/cpython/pull/19539/files#r408694579
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/19539/files
https://github.com/python/cpython/pull/19539/files#diff-851cf2d8d99b6d8dee26acc31319431dce51dbe26e3e56494d9b4c45edd8e11f
https://github.com/python/cpython/pull/19539/files#diff-851cf2d8d99b6d8dee26acc31319431dce51dbe26e3e56494d9b4c45edd8e11f
https://github.com/python/cpython/pull/19539/files#diff-851cf2d8d99b6d8dee26acc31319431dce51dbe26e3e56494d9b4c45edd8e11f
Lib/test/test_random.pyhttps://github.com/python/cpython/pull/19539/files#diff-aaebf638f7ed6fb71bd1b82f18d5ef343db5b52137304a86fdcd1dd176e9eda9
View file https://github.com/pitrou/cpython/blob/c4673f025739bf186b00cd93183704230b1bf1a2/Lib/test/test_random.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/19539/{{ revealButtonHref }}
https://github.com/python/cpython/pull/19539/files#diff-aaebf638f7ed6fb71bd1b82f18d5ef343db5b52137304a86fdcd1dd176e9eda9
pitrouhttps://github.com/pitrou
Apr 15, 2020https://github.com/python/cpython/pull/19539/files#r408667768
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/19539/files
https://github.com/python/cpython/pull/19539/files#diff-aaebf638f7ed6fb71bd1b82f18d5ef343db5b52137304a86fdcd1dd176e9eda9
https://github.com/python/cpython/pull/19539/files#diff-aaebf638f7ed6fb71bd1b82f18d5ef343db5b52137304a86fdcd1dd176e9eda9
https://github.com/python/cpython/pull/19539/files#diff-aaebf638f7ed6fb71bd1b82f18d5ef343db5b52137304a86fdcd1dd176e9eda9
https://github.com/python/cpython/pull/19539/files#diff-aaebf638f7ed6fb71bd1b82f18d5ef343db5b52137304a86fdcd1dd176e9eda9
https://github.com/python/cpython/pull/19539/files#diff-aaebf638f7ed6fb71bd1b82f18d5ef343db5b52137304a86fdcd1dd176e9eda9
Misc/NEWS.d/next/Library/2020-04-15-10-23-52.bpo-40282.rIYJmu.rsthttps://github.com/python/cpython/pull/19539/files#diff-eb6847fec38eafa3e46883071850769e826ac15798589899aa020b1f28c2df80
View file https://github.com/pitrou/cpython/blob/c4673f025739bf186b00cd93183704230b1bf1a2/Misc/NEWS.d/next/Library/2020-04-15-10-23-52.bpo-40282.rIYJmu.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/19539/{{ revealButtonHref }}
Modules/_randommodule.chttps://github.com/python/cpython/pull/19539/files#diff-c2608f08e5410416046fb2fc953730740d0b29b26c148c2cb4a40e87212012fa
View file https://github.com/pitrou/cpython/blob/c4673f025739bf186b00cd93183704230b1bf1a2/Modules/_randommodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/19539/{{ revealButtonHref }}
https://github.com/python/cpython/pull/19539/files#diff-c2608f08e5410416046fb2fc953730740d0b29b26c148c2cb4a40e87212012fa
https://github.com/python/cpython/pull/19539/files#diff-c2608f08e5410416046fb2fc953730740d0b29b26c148c2cb4a40e87212012fa
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.