Skip to content

Conversation

@trcrsired
Copy link

@trcrsired trcrsired commented Jun 23, 2022

The commit 7ad6f74 tried to add brackets to tons of macros, but they break PyObject_New and PyObject_NEW_VAR since the macro would expand to ((Type)*) which breaks compilation for those CPython headers.

Fix the issue 94185.

… pair

The problem is that ((type) *) is not working. Randomly adding brackets to macros are not going to work
@ghost
Copy link

ghost commented Jun 23, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-bot
Copy link

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

@corona10 corona10 requested a review from vstinner June 24, 2022 15:53
@vstinner
Copy link
Member

This change lacks unit tests: I wrote PR #94234 which adds tests.

Thanks for the bug report and the PR!

@kumaraditya303
Copy link
Contributor

Fixed by #94234

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants