René's URL Explorer Experiment


Title: [C API] Python exports symbols without `Py` prefix · Issue #141376 · python/cpython · GitHub

Open Graph Title: [C API] Python exports symbols without `Py` prefix · Issue #141376 · python/cpython

X Title: [C API] Python exports symbols without `Py` prefix · Issue #141376 · python/cpython

Description: Bug report Bug description: Python should only export symbols starting with Py prefix (or _Py prefix). List found by Stefan: bufferedrandom_spec bufferedreader_spec bufferedrwpair_spec bufferedwriter_spec bytesiobuf_spec bytesio_spec con...

Open Graph Description: Bug report Bug description: Python should only export symbols starting with Py prefix (or _Py prefix). List found by Stefan: bufferedrandom_spec bufferedreader_spec bufferedrwpair_spec bufferedwrit...

X Description: Bug report Bug description: Python should only export symbols starting with Py prefix (or _Py prefix). List found by Stefan: bufferedrandom_spec bufferedreader_spec bufferedrwpair_spec bufferedwrit...

Opengraph URL: https://github.com/python/cpython/issues/141376

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[C API] Python exports symbols without `Py` prefix","articleBody":"# Bug report\n\n### Bug description:\n\nPython should only export symbols starting with `Py` prefix (or `_Py` prefix).\n\n[List found by Stefan](https://discuss.python.org/t/pre-pep-use-a-header-file-that-can-undefine-the-macros-defined-by-python-h/104784/14):\n\n```\nbufferedrandom_spec\nbufferedreader_spec\nbufferedrwpair_spec\nbufferedwriter_spec\nbytesiobuf_spec\nbytesio_spec\nconstevaluator_spec\nfileio_spec\ngeneric_spec\niobase_spec\nnldecoder_spec\nparamspecargs_spec\nparamspeckwargs_spec\nparamspec_spec\npkgcontext\nPY_TIMEOUT_MAX     # I did not filter for PY with capital Y\nrawiobase_spec\nstringio_spec\ntextiobase_spec\ntextiowrapper_slots\ntextiowrapper_spec\ntypevar_spec\ntypevartuple_slots\ntypevartuple_spec\n```\n\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-141377\n* gh-141391\n* gh-141392\n* gh-141394\n* gh-141397\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2025-11-10T20:52:58Z","url":"https://github.com/python/cpython/issues/141376"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5d0a7020-99a7-c7f2-8d8f-3743fb595b69
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA766:3A73AA:3200329:3F66E42:6B02097E
html-safe-nonce3a589b34b704e5622968e2c62ddebe30699f13bc198f059d71bb05e9b736d439
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzY2OjNBNzNBQTozMjAwMzI5OjNGNjZFNDI6NkIwMjA5N0UiLCJ2aXNpdG9yX2lkIjoiMjM0NTQ3Nzk3NDIzODgyNDgzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacaedff88d966fb707ca66c5ead5e3c0e19ca4f75f510bd1c8fc76376bf91220b5
hovercard-subject-tagissue:3609655554
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/141376/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3ce9a4c3721eac01eb1d79010025bd49bbac6bc385c5ee2d140ae1708ffb88c4/python/cpython/issues/141376
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3ce9a4c3721eac01eb1d79010025bd49bbac6bc385c5ee2d140ae1708ffb88c4/python/cpython/issues/141376
og:image:altBug report Bug description: Python should only export symbols starting with Py prefix (or _Py prefix). List found by Stefan: bufferedrandom_spec bufferedreader_spec bufferedrwpair_spec bufferedwrit...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
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-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/141376#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F141376
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%2Fissues%2F141376
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/141376
Reloadhttps://github.com/python/cpython/issues/141376
Reloadhttps://github.com/python/cpython/issues/141376
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
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/141376
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/141376
[C API] Python exports symbols without Py prefixhttps://github.com/python/cpython/issues/141376#top
topic-C-APIhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-C-API%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Nov 10, 2025https://github.com/python/cpython/issues/141376#issue-3609655554
List found by Stefanhttps://discuss.python.org/t/pre-pep-use-a-header-file-that-can-undefine-the-macros-defined-by-python-h/104784/14
gh-141376: Fix exported symbols #141377https://github.com/python/cpython/pull/141377
gh-141376: Rename _AsyncioDebug to _Py_AsyncioDebug #141391https://github.com/python/cpython/pull/141391
gh-141376: Remove exceptions from make smelly #141392https://github.com/python/cpython/pull/141392
gh-141376: make smelly: List all symbols, repeat smelly ones at end #141394https://github.com/python/cpython/pull/141394
gh-141376: Check also for data in make smelly #141397https://github.com/python/cpython/pull/141397
vstinnerhttps://github.com/vstinner
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
topic-C-APIhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-C-API%22
on Nov 10, 2025https://github.com/python/cpython/issues/141376#event-20846696365
vstinnerhttps://github.com/vstinner
on Nov 10, 2025https://github.com/python/cpython/issues/141376#event-20846874718
pythongh-141376: Fix exported symbolshttps://github.com/vstinner/cpython/commit/24e15d98ad1ccef7721bc92828c3937c3c7bf837
pythongh-141376https://github.com/python/cpython/issues/141376
24e15d9https://github.com/vstinner/cpython/commit/24e15d98ad1ccef7721bc92828c3937c3c7bf837
encukouhttps://github.com/encukou
on Nov 11, 2025https://github.com/python/cpython/issues/141376#event-20856277746
gh-141376: Fix exported symbols (GH-141377)https://github.com/python/cpython/commit/8435a2278f964f48d36edbc5092be5ebecfcb120
gh-141376https://github.com/python/cpython/issues/141376
GH-141377https://github.com/python/cpython/pull/141377
8435a22https://github.com/python/cpython/commit/8435a2278f964f48d36edbc5092be5ebecfcb120
pythongh-141376: Fix exported symbolshttps://github.com/encukou/cpython/commit/df244728cb7f58d2eccd9d0bc12baddc03010ae8
pythongh-141376https://github.com/python/cpython/issues/141376
df24472https://github.com/encukou/cpython/commit/df244728cb7f58d2eccd9d0bc12baddc03010ae8
pythongh-141376: Rename _AsyncioDebug to _Py_AsyncioDebughttps://github.com/encukou/cpython/commit/f3d307b9aec1e8718f6ac2ccc5f8d6209a7e3b10
pythongh-141376https://github.com/python/cpython/issues/141376
f3d307bhttps://github.com/encukou/cpython/commit/f3d307b9aec1e8718f6ac2ccc5f8d6209a7e3b10
pythongh-141376: Rename _AsyncioDebug to _Py_AsyncioDebughttps://github.com/encukou/cpython/commit/c4dbbb06719f4bb9fe6474d42d25839800b3de06
pythongh-141376https://github.com/python/cpython/issues/141376
c4dbbb0https://github.com/encukou/cpython/commit/c4dbbb06719f4bb9fe6474d42d25839800b3de06
pythongh-141376: make smelly: Don't ignore initialized data and BSShttps://github.com/encukou/cpython/commit/6ecac5dfebe09cbcb171eba626c4b7ce93a121fe
pythongh-141376https://github.com/python/cpython/issues/141376
6ecac5dhttps://github.com/encukou/cpython/commit/6ecac5dfebe09cbcb171eba626c4b7ce93a121fe
pythongh-141376: make smelly: Don't ignore initialized data and BSShttps://github.com/encukou/cpython/commit/008ffb73268bd36fc4c82f2b7915161caf6081d8
pythongh-141376https://github.com/python/cpython/issues/141376
008ffb7https://github.com/encukou/cpython/commit/008ffb73268bd36fc4c82f2b7915161caf6081d8
vstinnerhttps://github.com/vstinner
on Nov 11, 2025https://github.com/python/cpython/issues/141376#event-20858911960
pythongh-141376: Check also for data in make smellyhttps://github.com/vstinner/cpython/commit/3faf10b12b483a56526ff56cb64a04f3d962b5a7
pythongh-141376https://github.com/python/cpython/issues/141376
3faf10bhttps://github.com/vstinner/cpython/commit/3faf10b12b483a56526ff56cb64a04f3d962b5a7
encukouhttps://github.com/encukou
on Nov 12, 2025https://github.com/python/cpython/issues/141376#event-20882594894
gh-141376: Rename _AsyncioDebug to _Py_AsyncioDebug (GH-141391)https://github.com/python/cpython/commit/909f76dab91f028edd2ae7bd589d3975996de9e1
gh-141376https://github.com/python/cpython/issues/141376
GH-141391https://github.com/python/cpython/pull/141391
909f76dhttps://github.com/python/cpython/commit/909f76dab91f028edd2ae7bd589d3975996de9e1
gh-141376: Remove exceptions from `make smelly` (GH-141392)https://github.com/python/cpython/commit/5ac0b55ebc792936184f8e08697e60d5b3f8b946
gh-141376https://github.com/python/cpython/issues/141376
GH-141392https://github.com/python/cpython/pull/141392
5ac0b55https://github.com/python/cpython/commit/5ac0b55ebc792936184f8e08697e60d5b3f8b946
StanFromIrelandhttps://github.com/StanFromIreland
on Dec 6, 2025https://github.com/python/cpython/issues/141376#event-21401822469
pythongh-141376: Fix exported symbols (pythonGH-141377)https://github.com/StanFromIreland/cpython/commit/bc4c7410b7fb828ce2a6369ac26c405fc1a8a9a0
pythongh-141376https://github.com/python/cpython/issues/141376
pythonGH-141377https://github.com/python/cpython/pull/141377
bc4c741https://github.com/StanFromIreland/cpython/commit/bc4c7410b7fb828ce2a6369ac26c405fc1a8a9a0
pythongh-141376: Rename _AsyncioDebug to _Py_AsyncioDebug (pythonGH-1…https://github.com/StanFromIreland/cpython/commit/d9e5ba208cf191871335efe0538b13ad5be59be4
pythongh-141376https://github.com/python/cpython/issues/141376
pythonGH-1…https://github.com/python/cpython/pull/141391
d9e5ba2https://github.com/StanFromIreland/cpython/commit/d9e5ba208cf191871335efe0538b13ad5be59be4
pythongh-141376: Remove exceptions from `make smelly` (pythonGH-141392)https://github.com/StanFromIreland/cpython/commit/67e006faed2409e1cbb0b3d6a46226220aed0cd7
pythongh-141376https://github.com/python/cpython/issues/141376
pythonGH-141392https://github.com/python/cpython/pull/141392
67e006fhttps://github.com/StanFromIreland/cpython/commit/67e006faed2409e1cbb0b3d6a46226220aed0cd7
encukouhttps://github.com/encukou
on Jan 23, 2026https://github.com/python/cpython/issues/141376#event-22247989278
gh-141376: smelly.py: Print only smelly symbols, or all of them with …https://github.com/python/cpython/commit/70e67f579e20036d82c59cd604b5dc73dd3c6a8a
gh-141376https://github.com/python/cpython/issues/141376
70e67f5https://github.com/python/cpython/commit/70e67f579e20036d82c59cd604b5dc73dd3c6a8a
thunder-codinghttps://github.com/thunder-coding
on Feb 15, 2026https://github.com/python/cpython/issues/141376#event-22797349185
pythongh-141376: smelly.py: Print only smelly symbols, or all of them…https://github.com/thunder-coding/cpython/commit/cede871eb66cd50af3407bced4aa53bb42485168
pythongh-141376https://github.com/python/cpython/issues/141376
cede871https://github.com/thunder-coding/cpython/commit/cede871eb66cd50af3407bced4aa53bb42485168
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on May 29, 2026https://github.com/python/cpython/issues/141376#issuecomment-4575019015
vstinnerhttps://github.com/vstinner
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 29, 2026https://github.com/python/cpython/issues/141376#event-26109242154
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/141376
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/141376
topic-C-APIhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-C-API%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
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.