René's URL Explorer Experiment


Title: gh-136872: Let `--with-pymalloc` override the sanitizer default by vasiliyk · Pull Request #157934 · python/cpython · GitHub

Open Graph Title: gh-136872: Let `--with-pymalloc` override the sanitizer default by vasiliyk · Pull Request #157934 · python/cpython

X Title: gh-136872: Let `--with-pymalloc` override the sanitizer default by vasiliyk · Pull Request #157934 · python/cpython

Description: The --with-address-sanitizer and --with-memory-sanitizer configure options unconditionally set with_pymalloc=no, so an explicit --with-pymalloc was silently ignored. Only apply that default when --with-pymalloc or --without-pymalloc was not given. Tested with the regenerated configure: --with-address-sanitizer --with-pymalloc now defines WITH_PYMALLOC, and --with-address-sanitizer alone still leaves it undefined. Issue: gh-136872

Open Graph Description: The --with-address-sanitizer and --with-memory-sanitizer configure options unconditionally set with_pymalloc=no, so an explicit --with-pymalloc was silently ignored. Only apply that default when --...

X Description: The --with-address-sanitizer and --with-memory-sanitizer configure options unconditionally set with_pymalloc=no, so an explicit --with-pymalloc was silently ignored. Only apply that default when --...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8bffc997-404e-3f3a-9ba8-93c8f971b94f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA55A:323204:1B7E2FF:2434612:6B022063
html-safe-nonce1adcee008bf076ec5cbddc94e1d2b4fb8ac4b663bbbe8df2efdf8b94c0115a24
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTVBOjMyMzIwNDoxQjdFMkZGOjI0MzQ2MTI6NkIwMjIwNjMiLCJ2aXNpdG9yX2lkIjoiNzIyNDQ0MzI5MDcxNDc3NTY1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc4a10bc320023737b741db2b5d77ca6bfec1d9f33f80a1a74779664c0f9ee49a
hovercard-subject-tagpull_request:4597065041
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/157934/files
twitter:imagehttps://avatars.githubusercontent.com/u/1378948?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1378948?s=400&v=4
og:image:altThe --with-address-sanitizer and --with-memory-sanitizer configure options unconditionally set with_pymalloc=no, so an explicit --with-pymalloc was silently ignored. Only apply that default when --...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/157934/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F157934%2Ffiles
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%2F157934%2Ffiles
Sign uphttps://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/157934/files
Reloadhttps://github.com/python/cpython/pull/157934/files
Reloadhttps://github.com/python/cpython/pull/157934/files
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
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
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
vasiliyk:136872-pymallochttps://github.com/vasiliyk/cpython/tree/136872-pymalloc
Conversation 22 https://github.com/python/cpython/pull/157934
Commits 12 https://github.com/python/cpython/pull/157934/commits
Checks 54 https://github.com/python/cpython/pull/157934/checks
Files changed 9 https://github.com/python/cpython/pull/157934/files
gh-136872: Let --with-pymalloc override the sanitizer default https://github.com/python/cpython/pull/157934/files#top
Show all changes 12 commits https://github.com/python/cpython/pull/157934/files
28ef206 gh-136872: Let --with-pymalloc override the sanitizer default vasiliyk Sep 21, 2026 https://github.com/python/cpython/pull/157934/commits/28ef2068e657eea25a54ab55a76b6ede9bcaddec
b1700e3 Fix NEWS entry option reference vasiliyk Sep 22, 2026 https://github.com/python/cpython/pull/157934/commits/b1700e33efdb4696259432f8e9e8a1ac07a6a83c
0044271 gh-136872: Clarify sanitizers behavior vasiliyk Sep 22, 2026 https://github.com/python/cpython/pull/157934/commits/00442719b1a18f60dbb58fe35844f8188f727db6
e536084 gh-136872: Regenerate configure vasiliyk Sep 23, 2026 https://github.com/python/cpython/pull/157934/commits/e536084b6fb3282553f830780b988fab2ba43f59
e0a51e2 gh-136872: Document pymalloc default in sanitizer builds vasiliyk Sep 23, 2026 https://github.com/python/cpython/pull/157934/commits/e0a51e2673fbdf0b6e8d7a2eb8af85f95db4935a
b23d2d1 gh-136872: Use malloc as the default allocator under ASan and MSan vasiliyk Sep 23, 2026 https://github.com/python/cpython/pull/157934/commits/b23d2d19886d3d845e778b3c38baf451e147ea82
e469c49 Apply batched suggestions from code review vasiliyk Sep 24, 2026 https://github.com/python/cpython/pull/157934/commits/e469c49617d38a5bf9c6e1983a8cc1fd426bd216
08dc6cf Regenerate configure vasiliyk Sep 26, 2026 https://github.com/python/cpython/pull/157934/commits/08dc6cf8ea4c22ee2042a976a74963db434b1715
a346dc3 Merge in the main branch encukou Oct 7, 2026 https://github.com/python/cpython/pull/157934/commits/a346dc3f34be81bd437f628d49ac78b485355c2b
5034121 Adjust docs encukou Oct 7, 2026 https://github.com/python/cpython/pull/157934/commits/50341211799d85c0619040f4b042b25bda3a3886
3be3958 Adjust configure for hwasan encukou Oct 7, 2026 https://github.com/python/cpython/pull/157934/commits/3be395820b088fea6e8225ce0622d6f85039f5f1
bfe6179 Make it clearer that not all sanitizers turn off pymalloc encukou Oct 7, 2026 https://github.com/python/cpython/pull/157934/commits/bfe6179d6c3e57cd5ff6262ec850e26449657410
Clear filters https://github.com/python/cpython/pull/157934/files
Please reload this pagehttps://github.com/python/cpython/pull/157934/files
Please reload this pagehttps://github.com/python/cpython/pull/157934/files
memory.rst https://github.com/python/cpython/pull/157934/files#diff-bf49cfbf2170181a424cce2eba394150adb4adce4579e5d74f2b1343ce5026b2
configure.rst https://github.com/python/cpython/pull/157934/files#diff-3d679da2b3a01e3744dc65d731bb0a896c07e60f3cfdb19911afab3c146a80ef
pycore_pymem_init.h https://github.com/python/cpython/pull/157934/files#diff-793b76b3c29671979eae473f9d21eba5c245bdf821f085f2a2d189cfed686333
test_cmd_line.py https://github.com/python/cpython/pull/157934/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0
test_sys.py https://github.com/python/cpython/pull/157934/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d
2026-09-21-19-20-42.gh-issue-136872.a2tSc_.rst https://github.com/python/cpython/pull/157934/files#diff-443c95e010b8271dfdf6bf78c03bc49d86d166e325dbc4098794da5c922d28e5
obmalloc.c https://github.com/python/cpython/pull/157934/files#diff-399a22135f328b4e42b0722ef216587945eedf2d8c103a584a3dca5b30650329
configure https://github.com/python/cpython/pull/157934/files#diff-90d08e583c4c9c6f391b2ae90f819f600a6326928ea9512c9e0c6d98e9f29ac2
configure.ac https://github.com/python/cpython/pull/157934/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114
Doc/c-api/memory.rsthttps://github.com/python/cpython/pull/157934/files#diff-bf49cfbf2170181a424cce2eba394150adb4adce4579e5d74f2b1343ce5026b2
View file https://github.com/vasiliyk/cpython/blob/bfe6179d6c3e57cd5ff6262ec850e26449657410/Doc/c-api/memory.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/157934/{{ revealButtonHref }}
https://github.com/python/cpython/pull/157934/files#diff-bf49cfbf2170181a424cce2eba394150adb4adce4579e5d74f2b1343ce5026b2
https://github.com/python/cpython/pull/157934/files#diff-bf49cfbf2170181a424cce2eba394150adb4adce4579e5d74f2b1343ce5026b2
https://github.com/python/cpython/pull/157934/files#diff-bf49cfbf2170181a424cce2eba394150adb4adce4579e5d74f2b1343ce5026b2
https://github.com/python/cpython/pull/157934/files#diff-bf49cfbf2170181a424cce2eba394150adb4adce4579e5d74f2b1343ce5026b2
https://github.com/python/cpython/pull/157934/files#diff-bf49cfbf2170181a424cce2eba394150adb4adce4579e5d74f2b1343ce5026b2
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L84
Doc/using/configure.rsthttps://github.com/python/cpython/pull/157934/files#diff-3d679da2b3a01e3744dc65d731bb0a896c07e60f3cfdb19911afab3c146a80ef
View file https://github.com/vasiliyk/cpython/blob/bfe6179d6c3e57cd5ff6262ec850e26449657410/Doc/using/configure.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/157934/{{ revealButtonHref }}
https://github.com/python/cpython/pull/157934/files#diff-3d679da2b3a01e3744dc65d731bb0a896c07e60f3cfdb19911afab3c146a80ef
Please reload this pagehttps://github.com/python/cpython/pull/157934/files
Please reload this pagehttps://github.com/python/cpython/pull/157934/files
https://github.com/python/cpython/pull/157934/files#diff-3d679da2b3a01e3744dc65d731bb0a896c07e60f3cfdb19911afab3c146a80ef
https://github.com/python/cpython/pull/157934/files#diff-3d679da2b3a01e3744dc65d731bb0a896c07e60f3cfdb19911afab3c146a80ef
https://github.com/python/cpython/pull/157934/files#diff-3d679da2b3a01e3744dc65d731bb0a896c07e60f3cfdb19911afab3c146a80ef
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L320
Include/internal/pycore_pymem_init.hhttps://github.com/python/cpython/pull/157934/files#diff-793b76b3c29671979eae473f9d21eba5c245bdf821f085f2a2d189cfed686333
View file https://github.com/vasiliyk/cpython/blob/bfe6179d6c3e57cd5ff6262ec850e26449657410/Include/internal/pycore_pymem_init.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/157934/{{ revealButtonHref }}
https://github.com/python/cpython/pull/157934/files#diff-793b76b3c29671979eae473f9d21eba5c245bdf821f085f2a2d189cfed686333
https://github.com/python/cpython/pull/157934/files#diff-793b76b3c29671979eae473f9d21eba5c245bdf821f085f2a2d189cfed686333
Lib/test/test_cmd_line.pyhttps://github.com/python/cpython/pull/157934/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0
View file https://github.com/vasiliyk/cpython/blob/bfe6179d6c3e57cd5ff6262ec850e26449657410/Lib/test/test_cmd_line.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/157934/{{ revealButtonHref }}
https://github.com/python/cpython/pull/157934/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0
https://github.com/python/cpython/pull/157934/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0
https://github.com/python/cpython/pull/157934/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0
https://github.com/python/cpython/pull/157934/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0
Lib/test/test_sys.pyhttps://github.com/python/cpython/pull/157934/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d
View file https://github.com/vasiliyk/cpython/blob/bfe6179d6c3e57cd5ff6262ec850e26449657410/Lib/test/test_sys.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/157934/{{ revealButtonHref }}
https://github.com/python/cpython/pull/157934/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d
https://github.com/python/cpython/pull/157934/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d
Misc/NEWS.d/next/Build/2026-09-21-19-20-42.gh-issue-136872.a2tSc_.rsthttps://github.com/python/cpython/pull/157934/files#diff-443c95e010b8271dfdf6bf78c03bc49d86d166e325dbc4098794da5c922d28e5
View file https://github.com/vasiliyk/cpython/blob/bfe6179d6c3e57cd5ff6262ec850e26449657410/Misc/NEWS.d/next/Build/2026-09-21-19-20-42.gh-issue-136872.a2tSc_.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/157934/{{ revealButtonHref }}
Objects/obmalloc.chttps://github.com/python/cpython/pull/157934/files#diff-399a22135f328b4e42b0722ef216587945eedf2d8c103a584a3dca5b30650329
View file https://github.com/vasiliyk/cpython/blob/bfe6179d6c3e57cd5ff6262ec850e26449657410/Objects/obmalloc.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/157934/{{ revealButtonHref }}
https://github.com/python/cpython/pull/157934/files#diff-399a22135f328b4e42b0722ef216587945eedf2d8c103a584a3dca5b30650329
https://github.com/python/cpython/pull/157934/files#diff-399a22135f328b4e42b0722ef216587945eedf2d8c103a584a3dca5b30650329
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L84
configurehttps://github.com/python/cpython/pull/157934/files#diff-90d08e583c4c9c6f391b2ae90f819f600a6326928ea9512c9e0c6d98e9f29ac2
View file https://github.com/vasiliyk/cpython/blob/bfe6179d6c3e57cd5ff6262ec850e26449657410/configure
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/157934/files
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L84
configure.achttps://github.com/python/cpython/pull/157934/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
View file https://github.com/vasiliyk/cpython/blob/bfe6179d6c3e57cd5ff6262ec850e26449657410/configure.ac
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/157934/{{ revealButtonHref }}
https://github.com/python/cpython/pull/157934/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
https://github.com/python/cpython/pull/157934/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
https://github.com/python/cpython/pull/157934/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
https://github.com/python/cpython/pull/157934/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
Please reload this pagehttps://github.com/python/cpython/pull/157934/files
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.