Skip to content
Discussion options

You must be logged in to vote

Python::attach is exactly the same as Python::with_gil. It was just renamed. The implementation did not change and this panic condition was there before as well, it just was not documented on with_gil it self, but only in the guide. So there will not be any new panics by migrating here. What we mean by "in the middle of GC traversal" is calling attach within __traverse__ (directly or indirectly).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@WSH032
Comment options

Answer selected by WSH032
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants