Skip to content

drop PyErr in do_init while still holding the GIL#157

Merged
dicej merged 1 commit into
bytecodealliance:mainfrom
dicej:drop-pyerr-with-gil
Jun 23, 2025
Merged

drop PyErr in do_init while still holding the GIL#157
dicej merged 1 commit into
bytecodealliance:mainfrom
dicej:drop-pyerr-with-gil

Conversation

@dicej

@dicej dicej commented Jun 23, 2025

Copy link
Copy Markdown
Collaborator

This avoids Cannot drop pointer into Python heap without the GIL being held errors which tend to prevent the real error from being printed.

Fixes #156

This avoids `Cannot drop pointer into Python heap without the GIL being held`
errors which tend to prevent the real error from being printed.

Fixes bytecodealliance#156

Signed-off-by: Joel Dice <joel.dice@fermyon.com>
@dicej dicej merged commit 8693514 into bytecodealliance:main Jun 23, 2025
4 checks passed
@dicej dicej deleted the drop-pyerr-with-gil branch June 23, 2025 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Empty AssertionError when running componentize

1 participant