René's URL Explorer Experiment


Title: bpo-36027: Extend three-argument pow to negative second argument by mdickinson · Pull Request #13266 · python/cpython · GitHub

Open Graph Title: bpo-36027: Extend three-argument pow to negative second argument by mdickinson · Pull Request #13266 · python/cpython

X Title: bpo-36027: Extend three-argument pow to negative second argument by mdickinson · Pull Request #13266 · python/cpython

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

Open Graph Description: This PR allows the built-in pow to compute modular inverses, by providing a negative second argument: >>> pow(7, -1, 100) # inverse of 7 modulo 100 43 >>> pow(2, -5, 101) 60 h...

X Description: This PR allows the built-in pow to compute modular inverses, by providing a negative second argument: >>> pow(7, -1, 100) # inverse of 7 modulo 100 43 >>>...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:ed65c2d7-0907-c1af-c964-9bda23fcd939
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id85EC:1DBE45:A43F66:D4D099:6A5ADFE1
html-safe-nonce1e59a6156bec81ad50eeb5cb6c84dc84196200f78fdba12d00bfd6c11904620f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUVDOjFEQkU0NTpBNDNGNjY6RDREMDk5OjZBNUFERkUxIiwidmlzaXRvcl9pZCI6IjQ0MzQ4MTM5MjgzMTgwOTk0MjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace2829e5cd864cbcfc9d60c04fa94ce332c6ea06d5e4935970fff6326bcd62d7a
hovercard-subject-tagpull_request:278069913
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/13266/commits
twitter:imagehttps://opengraph.githubassets.com/1cd93fcb9f458ce6070c64ccbcb963dfcd1ac299d4f7338d0d9ae032e08c42a3/python/cpython/pull/13266
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1cd93fcb9f458ce6070c64ccbcb963dfcd1ac299d4f7338d0d9ae032e08c42a3/python/cpython/pull/13266
og:image:altThis PR allows the built-in pow to compute modular inverses, by providing a negative second argument: >>> pow(7, -1, 100) # inverse of 7 modulo 100 43 >>> pow(2, -5, 101) 60 h...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemdickinson
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/13266/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F13266%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F13266%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/13266/commits
Reloadhttps://github.com/python/cpython/pull/13266/commits
Reloadhttps://github.com/python/cpython/pull/13266/commits
Please reload this pagehttps://github.com/python/cpython/pull/13266/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/13266/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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
mdickinsonhttps://github.com/mdickinson
python:masterhttps://github.com/python/cpython/tree/master
mdickinson:invmodhttps://github.com/mdickinson/cpython/tree/invmod
Conversationhttps://github.com/python/cpython/pull/13266
Commits11 (11)https://github.com/python/cpython/pull/13266/commits
Checkshttps://github.com/python/cpython/pull/13266/checks
Files changedhttps://github.com/python/cpython/pull/13266/files
bpo-36027: Extend three-argument pow to negative second argumenthttps://github.com/python/cpython/pull/13266/commits#top
mdickinsonhttps://github.com/mdickinson
python:masterhttps://github.com/python/cpython/tree/master
mdickinson:invmodhttps://github.com/mdickinson/cpython/tree/invmod
Extend three-argument pow to allow the second argument to be negative.https://github.com/python/cpython/pull/13266/commits/5b2f2bcadcf38f4254a71fcd7cf2a501257763f5
https://github.com/mdickinson
mdickinsonhttps://github.com/python/cpython/commits?author=mdickinson
5b2f2bchttps://github.com/python/cpython/pull/13266/commits/5b2f2bcadcf38f4254a71fcd7cf2a501257763f5
https://github.com/python/cpython/tree/5b2f2bcadcf38f4254a71fcd7cf2a501257763f5
Remove excessive whitespace.https://github.com/python/cpython/pull/13266/commits/0a45fb85c28c93392c63a8ecb9acc5a899303f87
https://github.com/mdickinson
mdickinsonhttps://github.com/python/cpython/commits?author=mdickinson
0a45fb8https://github.com/python/cpython/pull/13266/commits/0a45fb85c28c93392c63a8ecb9acc5a899303f87
https://github.com/python/cpython/tree/0a45fb85c28c93392c63a8ecb9acc5a899303f87
Tidy up imports.https://github.com/python/cpython/pull/13266/commits/5f372ad4edff264e248cfde74bd1d89a93140bfc
https://github.com/mdickinson
mdickinsonhttps://github.com/python/cpython/commits?author=mdickinson
5f372adhttps://github.com/python/cpython/pull/13266/commits/5f372ad4edff264e248cfde74bd1d89a93140bfc
https://github.com/python/cpython/tree/5f372ad4edff264e248cfde74bd1d89a93140bfc
Remove a redundant test.https://github.com/python/cpython/pull/13266/commits/11dec1eaf8f91560b9d4efe6bdf8aaafc64b0f99
https://github.com/mdickinson
mdickinsonhttps://github.com/python/cpython/commits?author=mdickinson
11dec1ehttps://github.com/python/cpython/pull/13266/commits/11dec1eaf8f91560b9d4efe6bdf8aaafc64b0f99
https://github.com/python/cpython/tree/11dec1eaf8f91560b9d4efe6bdf8aaafc64b0f99
Merge remote-tracking branch 'origin/master' into invmodhttps://github.com/python/cpython/pull/13266/commits/12b51aa7c3899873f5f0c49289bcefa50c78d756
https://github.com/mdickinson
mdickinsonhttps://github.com/python/cpython/commits?author=mdickinson
12b51aahttps://github.com/python/cpython/pull/13266/commits/12b51aa7c3899873f5f0c49289bcefa50c78d756
https://github.com/python/cpython/tree/12b51aa7c3899873f5f0c49289bcefa50c78d756
Clarify that the negative third argument only applies for int type operands.https://github.com/python/cpython/pull/13266/commits/fca728e26b9cf72c29ea694b588517546ad051a1
https://github.com/mdickinson
mdickinsonhttps://github.com/python/cpython/commits?author=mdickinson
fca728ehttps://github.com/python/cpython/pull/13266/commits/fca728e26b9cf72c29ea694b588517546ad051a1
https://github.com/python/cpython/tree/fca728e26b9cf72c29ea694b588517546ad051a1
Minor test updates: restore the test for 'pow(-1, -2, 3)' in test_builtin, remove accidental spacing change.https://github.com/python/cpython/pull/13266/commits/0d70b1bcf8d5e8c64306ac86d32ceb0f777774f8
https://github.com/mdickinson
mdickinsonhttps://github.com/python/cpython/commits?author=mdickinson
0d70b1bhttps://github.com/python/cpython/pull/13266/commits/0d70b1bcf8d5e8c64306ac86d32ceb0f777774f8
https://github.com/python/cpython/tree/0d70b1bcf8d5e8c64306ac86d32ceb0f777774f8
Cleaner wording in what's new entry.https://github.com/python/cpython/pull/13266/commits/4ea0bf0ef157d7bb23cb68b8d96e282655bcf2e7
https://github.com/mdickinson
mdickinsonhttps://github.com/python/cpython/commits?author=mdickinson
4ea0bf0https://github.com/python/cpython/pull/13266/commits/4ea0bf0ef157d7bb23cb68b8d96e282655bcf2e7
https://github.com/python/cpython/tree/4ea0bf0ef157d7bb23cb68b8d96e282655bcf2e7
Fix typo in what's new entryhttps://github.com/python/cpython/pull/13266/commits/be89d23186550c3c85f4fb683451bc3e9605c617
https://github.com/mdickinson
mdickinsonhttps://github.com/python/cpython/commits?author=mdickinson
be89d23https://github.com/python/cpython/pull/13266/commits/be89d23186550c3c85f4fb683451bc3e9605c617
https://github.com/python/cpython/tree/be89d23186550c3c85f4fb683451bc3e9605c617
DOC: add example of computing an inverse; use inv_x instead of ix.https://github.com/python/cpython/pull/13266/commits/4aaec00f67e9cff82b6fa7fcf2aa102f843b7944
https://github.com/mdickinson
mdickinsonhttps://github.com/python/cpython/commits?author=mdickinson
4aaec00https://github.com/python/cpython/pull/13266/commits/4aaec00f67e9cff82b6fa7fcf2aa102f843b7944
https://github.com/python/cpython/tree/4aaec00f67e9cff82b6fa7fcf2aa102f843b7944
Merge remote-tracking branch 'origin/master' into invmodhttps://github.com/python/cpython/pull/13266/commits/345cfcc774ef0f6a98a9152a70c027eb83fec116
https://github.com/mdickinson
mdickinsonhttps://github.com/python/cpython/commits?author=mdickinson
345cfcchttps://github.com/python/cpython/pull/13266/commits/345cfcc774ef0f6a98a9152a70c027eb83fec116
https://github.com/python/cpython/tree/345cfcc774ef0f6a98a9152a70c027eb83fec116
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.