FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-46417: Debug tp_subclasses crash by vstinner · Pull Request #30791 · python/cpython · GitHub

/ cpython Public

bpo-46417: Debug tp_subclasses crash - #30791

Closed
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:debug_subclasses
Closed

bpo-46417: Debug tp_subclasses crash#30791
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:debug_subclasses

Conversation

vstinner commented Jan 22, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member
  • _PyType_GetSubclasses() no longer holds a reference to
    tp_subclasses: its loop cannot modify tp_subclasses.
  • remove_subclass() now sets tp_subclasses to NULL if the dictionary
    becomes empty.

https://bugs.python.org/issue46417

* _PyType_GetSubclasses() no longer holds a reference to
  tp_subclasses: its loop cannot modify tp_subclasses.
* remove_subclass() now sets tp_subclasses to NULL if the dictionary
  becomes empty.

Copy link
Copy Markdown
Member Author

I wrote a real fix instead: #30793

vstinner closed this Jan 22, 2022
vstinner deleted the debug_subclasses branch January 22, 2022 15:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL