Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-41036: Implement object_traverse() #20983

Closed
wants to merge 1 commit into from
Closed

bpo-41036: Implement object_traverse() #20983

wants to merge 1 commit into from

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