Skip to content

Conversation

dalcinl
Copy link

@dalcinl dalcinl commented Oct 2, 2025

After the changes in #164, listing Py_XDECREF as an allowed symbol is no longer necessary. Py_XDECREF is static inline and if a symbol is produced (depending on C compiler optimization), it is a local symbol.

With this PR, the current list of allowed symbols becomes empty. I was not sure whether to remove it or keep it in case it is needed in the future. I sided for the second option and added a test (using some monkeypatching, hope that's OK). If you guys feel otherwise, then I can drop the last commit and push a new one removing the _ALLOWED_SYMBOLS list.

cc @isuruf for viz as the author of #164

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.

1 participant