Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
[3.12] gh-105268: Remove _PyGC_FINALIZED() macro (#105350)#107348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This change fix PyTorch:#105268 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM, but I am not sure that removing such private and undocumented macro is worth documenting. It received more fame in death than in life.
Remove the old private, undocumented and untested _PyGC_FINALIZED()macro which was kept for backward compatibility with Python 3.8 andolder.(cherry picked from commit8ddf0dd)
a31167b
to149ad93
Compare@Yhg1s: Is this fix eligible in Python 3.12 final? It helps building PyTorch with Python 3.12 if I get it correctly. |
I rebased my PR fix to fix a CI issue. Sadly, 3 weeks ago, the backport couldn't be merged because of a flaky test which failed on the Ubuntu job (unrelated to this PR). |
Removing a macro helps building with PyTorch? That doesn't sound like a straight-forward case. But no, I see no reason this should go into 3.12 (not even two weeks ago, let alone at this stage). |
Ok, in that case, I prefer to not backport this change to 3.12. I close the issue. |
Uh oh!
There was an error while loading.Please reload this page.
Remove the old private, undocumented and untested _PyGC_FINALIZED() macro which was kept for backward compatibility with Python 3.8 and older.
(cherry picked from commit8ddf0dd)
📚 Documentation preview 📚:https://cpython-previews--107348.org.readthedocs.build/