Error `Bad file descriptor` during using prompt-toolkit with xonsh

Open
#1,853 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
cli

Research direction

Start with the latest repeatable report linked from the xonsh issue comment and reproduce the Bad file descriptor failure while prompt-toolkit is used with xonsh. Trace the relevant prompt-toolkit terminal or file-descriptor handling, then verify that the reported repeatable cases no longer fail.

Written by the indexing model from the issue text.

Description

Hey!
I see many stable repeatable cases when prompt-toolkit shows the Bad file descriptor error.
It makes xonsh shell users sad.

You can find the latest most repeatable report in this comment.

Please help to fix this.

Thanks!

Dominant language
Python
Stars
10.6k
Forks
815
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from prompt-toolkit/python-prompt-toolkit

All issues in prompt-toolkit/python-prompt-toolkit

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.