Skip to content
Closed
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Split the handling of weak references in the GC if both types and instances
within a generation are unreachable. This prevent the clearing of the

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
within a generation are unreachable. This prevent the clearing of the
within a generation are unreachable. This prevent the clearing of the

type's subclasses list too early. This fix a segfault that occurs when
__del__ modifies the base's attributes and tries to access them from self.
type's subclasses list too early. This fix a crash that occurs when
:meth:`~object.__del__` modifies the base's attributes and tries to access them from self.