Skip to content

WIP: Fix iostream when used with nogil #1368

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

Merged
merged 1 commit into from
Jun 11, 2019
Merged

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Apr 20, 2018

When using the iostream wrappers, if you release the gil, you get a segfault. This small patch ensures that mixing them is safe.

Edit: Waiting on #1286, or #1211, or #1556 (probably more)

@henryiii henryiii changed the title Fix iostream when used with nogil WIP: Fix iostream when used with nogil Apr 17, 2019
@wjakob
Copy link
Member

wjakob commented Jun 11, 2019

LGTM.

@wjakob wjakob merged commit de59eb7 into pybind:master Jun 11, 2019
wjakob pushed a commit that referenced this pull request Jun 11, 2019
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.

2 participants