PyCQA / PyCQA/isort

--interactive causes unrecoverable exception

Open
#1,897 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7k
Forks
687
Avg merge
4h 56m
Merged PRs (30d)
2

Description

isort raises an unrecoverable exception when running --interactive and suggests opening an issue here

The crash occurs when using the bash terminal which is installed with Git for Windows 2.35.1.2.
The crash does not occur when using the same terminal but piping it with tee: "isort ./settings.py --interactive | tee bug.txt" works
The crash also does not occur when using cmd.exe as a prompt.
isort version is 5.10.1

Apologies beforehand if this is caused by a problem with git terminal window or a misconfiguration on my end.

unhandledexception

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.

Research direction

Reproduce isort ./settings.py --interactive with isort 5.10.1 in the Git for Windows bash terminal, then compare it with the tee pipeline and cmd.exe cases described in the report. Identify the exception causing the unrecoverable crash and verify that interactive mode completes without it in the affected terminal.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.