René's URL Explorer Experiment


Title: gh-131942: Use the Python-specific `Py_DEBUG` macro rather than `_DEBUG` in Windows-related C code by XuehaiPan · Pull Request #131944 · python/cpython · GitHub

Open Graph Title: gh-131942: Use the Python-specific `Py_DEBUG` macro rather than `_DEBUG` in Windows-related C code by XuehaiPan · Pull Request #131944 · python/cpython

X Title: gh-131942: Use the Python-specific `Py_DEBUG` macro rather than `_DEBUG` in Windows-related C code by XuehaiPan · Pull Request #131944 · python/cpython

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

Open Graph Description: Changes: Move the definition of Py_DEBUG in PC/pyconfig.h.in to the top of the file. /* _DEBUG implies Py_DEBUG */ #ifdef _DEBUG #define Py_DEBUG #endif Change usage of _DEBUG to Py_DEBUG by usi...

X Description: Changes: Move the definition of Py_DEBUG in PC/pyconfig.h.in to the top of the file. /* _DEBUG implies Py_DEBUG */ #ifdef _DEBUG #define Py_DEBUG #endif Change usage of _DEBUG to Py_DEBUG by usi...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:7dbaf8e4-c3c2-7b03-9ccd-627428da484a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8670:2BB762:4E3291:6AAF2F:6A540A74
html-safe-nonceafbc3c10539033a383012f2c1b8a606a5caa4a460021ec832047550cc995939d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjcwOjJCQjc2Mjo0RTMyOTE6NkFBRjJGOjZBNTQwQTc0IiwidmlzaXRvcl9pZCI6IjY0NTc2Njg4NjUzMTcxNDUyMDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacabb7c678ecdef5a0e99b82f7ab33acd32fd2d5fb26bf66c390fa0c594ba6b87d
hovercard-subject-tagpull_request:2429277424
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/131944/commits
twitter:imagehttps://opengraph.githubassets.com/ebcc3c1a1f103bb19a5b136e4c40029483ddc80de79f0962be4a9ac18f15e860/python/cpython/pull/131944
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ebcc3c1a1f103bb19a5b136e4c40029483ddc80de79f0962be4a9ac18f15e860/python/cpython/pull/131944
og:image:altChanges: Move the definition of Py_DEBUG in PC/pyconfig.h.in to the top of the file. /* _DEBUG implies Py_DEBUG */ #ifdef _DEBUG #define Py_DEBUG #endif Change usage of _DEBUG to Py_DEBUG by usi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameXuehaiPan
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/131944/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F131944%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%2F131944%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/131944/commits
Reloadhttps://github.com/python/cpython/pull/131944/commits
Reloadhttps://github.com/python/cpython/pull/131944/commits
Please reload this pagehttps://github.com/python/cpython/pull/131944/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/131944/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k 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
zoobahttps://github.com/zooba
python:mainhttps://github.com/python/cpython/tree/main
XuehaiPan:windows-use-py-debughttps://github.com/XuehaiPan/cpython/tree/windows-use-py-debug
Conversationhttps://github.com/python/cpython/pull/131944
Commits22 (22)https://github.com/python/cpython/pull/131944/commits
Checkshttps://github.com/python/cpython/pull/131944/checks
Files changedhttps://github.com/python/cpython/pull/131944/files
gh-131942: Use the Python-specific Py_DEBUG macro rather than _DEBUG in Windows-related C codehttps://github.com/python/cpython/pull/131944/commits#top
zoobahttps://github.com/zooba
python:mainhttps://github.com/python/cpython/tree/main
XuehaiPan:windows-use-py-debughttps://github.com/XuehaiPan/cpython/tree/windows-use-py-debug
Use the Python-specific `Py_DEBUG` macro rather than `_DEBUG` in Windows-related C codehttps://github.com/python/cpython/pull/131944/commits/49bca805d42679fafeebc4a53d917ced9cd8814a
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
49bca80https://github.com/python/cpython/pull/131944/commits/49bca805d42679fafeebc4a53d917ced9cd8814a
https://github.com/python/cpython/tree/49bca805d42679fafeebc4a53d917ced9cd8814a
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/131944/commits/32e4f13b92fa23977c260ae13b22aff058d80131
https://github.com/apps/blurb-it
blurb-it[bot]https://github.com/python/cpython/commits?author=blurb-it%5Bbot%5D
32e4f13https://github.com/python/cpython/pull/131944/commits/32e4f13b92fa23977c260ae13b22aff058d80131
https://github.com/python/cpython/tree/32e4f13b92fa23977c260ae13b22aff058d80131
Update generated fileshttps://github.com/python/cpython/pull/131944/commits/28db04513820862d25c45a27a2069401c0a15365
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
28db045https://github.com/python/cpython/pull/131944/commits/28db04513820862d25c45a27a2069401c0a15365
https://github.com/python/cpython/tree/28db04513820862d25c45a27a2069401c0a15365
Add a note to `Py_DEBUG` in docshttps://github.com/python/cpython/pull/131944/commits/004e6eca641b713b85859efec08a485b008429aa
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
004e6echttps://github.com/python/cpython/pull/131944/commits/004e6eca641b713b85859efec08a485b008429aa
https://github.com/python/cpython/tree/004e6eca641b713b85859efec08a485b008429aa
Merge branch 'main' into windows-use-py-debughttps://github.com/python/cpython/pull/131944/commits/5933ca1f3b67e4ee7514f1da4723dcc9cc65aa39
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
5933ca1https://github.com/python/cpython/pull/131944/commits/5933ca1f3b67e4ee7514f1da4723dcc9cc65aa39
https://github.com/python/cpython/tree/5933ca1f3b67e4ee7514f1da4723dcc9cc65aa39
Revert changes in `.rc` resource fileshttps://github.com/python/cpython/pull/131944/commits/fd82b5bf32cb2702a2e3ca4ddf11fa83fb2d00ec
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
fd82b5bhttps://github.com/python/cpython/pull/131944/commits/fd82b5bf32cb2702a2e3ca4ddf11fa83fb2d00ec
https://github.com/python/cpython/tree/fd82b5bf32cb2702a2e3ca4ddf11fa83fb2d00ec
Update generated fileshttps://github.com/python/cpython/pull/131944/commits/0fc148feded8270e6f15c1365c431ba7f74bf325
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
0fc148fhttps://github.com/python/cpython/pull/131944/commits/0fc148feded8270e6f15c1365c431ba7f74bf325
https://github.com/python/cpython/tree/0fc148feded8270e6f15c1365c431ba7f74bf325
Revert "Update generated files"https://github.com/python/cpython/pull/131944/commits/5d0a67fd915ee558b7242522d2dfc3434bcb2eac
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
5d0a67fhttps://github.com/python/cpython/pull/131944/commits/5d0a67fd915ee558b7242522d2dfc3434bcb2eac
https://github.com/python/cpython/tree/5d0a67fd915ee558b7242522d2dfc3434bcb2eac
Reapply "Update generated files"https://github.com/python/cpython/pull/131944/commits/8284b0e1e0669bd3bfd098450c597868e2678712
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
8284b0ehttps://github.com/python/cpython/pull/131944/commits/8284b0e1e0669bd3bfd098450c597868e2678712
https://github.com/python/cpython/tree/8284b0e1e0669bd3bfd098450c597868e2678712
Merge branch 'main' into windows-use-py-debughttps://github.com/python/cpython/pull/131944/commits/39f52d140d4513c2b86efcc0ff802a6689216cad
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
39f52d1https://github.com/python/cpython/pull/131944/commits/39f52d140d4513c2b86efcc0ff802a6689216cad
https://github.com/python/cpython/tree/39f52d140d4513c2b86efcc0ff802a6689216cad
Update PC/pyconfig.h.in from code reviewhttps://github.com/python/cpython/pull/131944/commits/165dc3688d563aa7423c22ca4c3858ced24dfb31
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
165dc36https://github.com/python/cpython/pull/131944/commits/165dc3688d563aa7423c22ca4c3858ced24dfb31
https://github.com/python/cpython/tree/165dc3688d563aa7423c22ca4c3858ced24dfb31
Merge branch 'main' into windows-use-py-debughttps://github.com/python/cpython/pull/131944/commits/c12fe69805ca3208902fffcfee9171c91b13ec9b
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
c12fe69https://github.com/python/cpython/pull/131944/commits/c12fe69805ca3208902fffcfee9171c91b13ec9b
https://github.com/python/cpython/tree/c12fe69805ca3208902fffcfee9171c91b13ec9b
Merge branch 'main' into windows-use-py-debughttps://github.com/python/cpython/pull/131944/commits/951ac18c7f8d364706dd62ede36368c80a810dd7
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
951ac18https://github.com/python/cpython/pull/131944/commits/951ac18c7f8d364706dd62ede36368c80a810dd7
https://github.com/python/cpython/tree/951ac18c7f8d364706dd62ede36368c80a810dd7
Merge branch 'main' into windows-use-py-debughttps://github.com/python/cpython/pull/131944/commits/db19f0e37bba354b31b8ab7836b7d7e6ce465fbe
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
db19f0ehttps://github.com/python/cpython/pull/131944/commits/db19f0e37bba354b31b8ab7836b7d7e6ce465fbe
https://github.com/python/cpython/tree/db19f0e37bba354b31b8ab7836b7d7e6ce465fbe
Revert PC/msvcrtmodule.chttps://github.com/python/cpython/pull/131944/commits/0fb504451f4733c481fd768a9f8f3c700cdb7cc9
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
0fb5044https://github.com/python/cpython/pull/131944/commits/0fb504451f4733c481fd768a9f8f3c700cdb7cc9
https://github.com/python/cpython/tree/0fb504451f4733c481fd768a9f8f3c700cdb7cc9
Update docshttps://github.com/python/cpython/pull/131944/commits/8cb1a1bdd35ce0656c485bcbbab6a428883de598
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
8cb1a1bhttps://github.com/python/cpython/pull/131944/commits/8cb1a1bdd35ce0656c485bcbbab6a428883de598
https://github.com/python/cpython/tree/8cb1a1bdd35ce0656c485bcbbab6a428883de598
Merge branch 'main' into windows-use-py-debughttps://github.com/python/cpython/pull/131944/commits/e71a52a1b8b448c63a0b9bce14b3125d5373b9d4
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
e71a52ahttps://github.com/python/cpython/pull/131944/commits/e71a52a1b8b448c63a0b9bce14b3125d5373b9d4
https://github.com/python/cpython/tree/e71a52a1b8b448c63a0b9bce14b3125d5373b9d4
Merge branch 'main' into windows-use-py-debughttps://github.com/python/cpython/pull/131944/commits/aa98d3a5fc765d661a0e944c1728ce9c15f8e265
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
aa98d3ahttps://github.com/python/cpython/pull/131944/commits/aa98d3a5fc765d661a0e944c1728ce9c15f8e265
https://github.com/python/cpython/tree/aa98d3a5fc765d661a0e944c1728ce9c15f8e265
Merge branch 'main' into windows-use-py-debughttps://github.com/python/cpython/pull/131944/commits/b086d0c35af2796968115b3d78d8e891f025a6a8
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
b086d0chttps://github.com/python/cpython/pull/131944/commits/b086d0c35af2796968115b3d78d8e891f025a6a8
https://github.com/python/cpython/tree/b086d0c35af2796968115b3d78d8e891f025a6a8
Merge branch 'main' into windows-use-py-debughttps://github.com/python/cpython/pull/131944/commits/6f72efaead3d5a25067bb60d36e4c533c67b74d9
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
6f72efahttps://github.com/python/cpython/pull/131944/commits/6f72efaead3d5a25067bb60d36e4c533c67b74d9
https://github.com/python/cpython/tree/6f72efaead3d5a25067bb60d36e4c533c67b74d9
Merge branch 'main' into windows-use-py-debughttps://github.com/python/cpython/pull/131944/commits/bf01880d90f6696344fe4820460bbc522d7c4d86
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
bf01880https://github.com/python/cpython/pull/131944/commits/bf01880d90f6696344fe4820460bbc522d7c4d86
https://github.com/python/cpython/tree/bf01880d90f6696344fe4820460bbc522d7c4d86
Merge branch 'main' into windows-use-py-debughttps://github.com/python/cpython/pull/131944/commits/19ecf8a9f9ad0b7616458f9b3d7b4849c5a5c11c
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/python/cpython/commits?author=XuehaiPan
19ecf8ahttps://github.com/python/cpython/pull/131944/commits/19ecf8a9f9ad0b7616458f9b3d7b4849c5a5c11c
https://github.com/python/cpython/tree/19ecf8a9f9ad0b7616458f9b3d7b4849c5a5c11c
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.