Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@mgorny
Copy link
Contributor

@mgorny mgorny commented Jul 30, 2025

Redefine _Py_DEC_REFTOTAL as a private GREENLET_Py_DEC_REFTOTAL macro rather than under the original name, to fix conflicts with CPython's private macro that cause the build to fail with Python 3.14.

Fixes #458

Redefine `_Py_DEC_REFTOTAL` as a private `GREENLET_Py_DEC_REFTOTAL`
macro rather than under the original name, to fix conflicts with
CPython's private macro that cause the build to fail with Python 3.14.

Fixes python-greenlet#458
@mgorny mgorny changed the title Redefine _Py_DEC_REFTOTAL as a private macro to fix py3.14 build Redefine _Py_DEC_REFTOTAL as a private macro to fix py3.14 debug build Jul 31, 2025
@jamadden jamadden merged commit e3e2953 into python-greenlet:master Aug 6, 2025
23 checks passed
@jamadden
Copy link
Contributor

jamadden commented Aug 6, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure with Python 3.14 --with-pydebug over redefined _Py_DEC_REFTOTAL

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.