Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 19, 2020

Provide a default tp_traverse implementation for the base object
type for heap types which have no tp_traverse function. The
traverse function visits the type if the type is a heap type.

Update subtype_traverse(): don't call object_traverse() to avoid
visiting the type twice.

https://bugs.python.org/issue41036

Provide a default tp_traverse implementation for the base object
type for heap types which have no tp_traverse function. The
traverse function visits the type if the type is a heap type.

Update subtype_traverse(): don't call object_traverse() to avoid
visiting the type twice.
@vstinner
Copy link
Member Author

PR rebased to get the macOS fix (to fix the macOS job).

@vstinner vstinner closed this Jan 19, 2021
@vstinner vstinner deleted the object_traverse branch January 19, 2021 21:55
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