Skip to content

Fix mistake acquiring GIL while generating closure functions#5738

Merged
scoder merged 1 commit intocython:masterfrom
da-woods:fix-closure-refnanny-logic
Oct 2, 2023
Merged

Fix mistake acquiring GIL while generating closure functions#5738
scoder merged 1 commit intocython:masterfrom
da-woods:fix-closure-refnanny-logic

Conversation

@da-woods
Copy link
Copy Markdown
Contributor

@da-woods da-woods commented Oct 1, 2023

It didn't need to acquire the GIL here unless lenv.nogil is set (since while it needs the GIL, it already has it).

It didn't need to acquire the GIL here unless lenv.nogil is
set (since while it needs the GIL, it already has it).
@da-woods da-woods marked this pull request as ready for review October 1, 2023 14:41
@scoder scoder added this to the 3.0.3 milestone Oct 2, 2023
@scoder scoder merged commit 52565b2 into cython:master Oct 2, 2023
@da-woods da-woods deleted the fix-closure-refnanny-logic branch October 2, 2023 06:30
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.

2 participants