Skip to content
Discussion options

You must be logged in to vote

That's fine, the gil is re-entrant so you can nest calls to with_gil if you want. That said if there's already a Python token or something with a py() method in scope, you should use that instead because it's zero cost.

Replies: 1 comment 1 reply

Comment options

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

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