Skip to content

Fix ValueError: I/O operation on closed file #1457

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 1 commit into
base: main
Choose a base branch
from

Conversation

jonathanslenders
Copy link
Member

No description provided.

@jonathanslenders jonathanslenders force-pushed the fix-valueerror-io-operation-on-closed-file branch from cd2b153 to 5382699 Compare July 8, 2021 14:26
@jonathanslenders jonathanslenders changed the title Fix valueerror io operation on closed file Fix ValueError: I/O operation on closed file Jul 8, 2021
@jonathanslenders
Copy link
Member Author

Maybe not needed anymore. Fixed here: prompt-toolkit/ptpython#466

Bugfix for ptpython/Xonsh. This handles the situation where `sys.stdin` gets
closed, by running for instance `sys.stdin.close()`.
@jonathanslenders jonathanslenders force-pushed the fix-valueerror-io-operation-on-closed-file branch from 5382699 to 5b8c5e9 Compare July 9, 2021 13:54
Bubobubobubobubo added a commit to Bubobubobubobubo/sardine that referenced this pull request Aug 28, 2022
This integration is not perfect. I had to read the configuration file
and ended up duplication some classes and functions from `sardine` to
`fishery` in order to do it.

There is a nasty bug that shows up when quitting from the experimental editor.
This issue is already documented by `ptpython` and should have been fixed
already if I am to believe GitHub issues:
prompt-toolkit/python-prompt-toolkit#1457.

This is probably worth reporting to the maintainers!
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