8000 Try to close more resouce on windows in system command by Carreau · Pull Request #14749 · ipython/ipython · GitHub
[go: up one dir, main page]

Skip to content

Try to close more resouce on windows in system command #14749

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Carreau
Copy link
Member
@Carreau Carreau commented Feb 18, 2025

There is a resource leak spotted in ipython/ipykernel#1291, that only
affects windows, this try to properly close the BufferReader/writrers.

I find it weird to have to close things we did not set on the
subprocess, I guess this is because it is supposed ot be used as a
context manager, unfortunately the CM does .wait(), and we don't want to
wait here.

@Carreau Carreau force-pushed the zmio branch 3 times, most recently from c1a25ff to fa62d22 Compare February 18, 2025 12:51
@Carreau Carreau changed the title debug windowsn issue with zmq_anyio Try to close more resouce on windows in system command Feb 18, 2025
@Carreau Carreau marked this pull request as ready for review February 18, 2025 12:54
There is a resource leak spotted in ipython/ipykernel#1291, that only
affects windows, this try to properly close the BufferReader/writrers.

I find it weird to have to close things we did not set on the
subprocess, I guess this is because it is supposed ot be used as a
context manager, unfortunately the CM does .wait(), and we don't want to
wait here.
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.

1 participant
0