ipython / ipython/ipython

Letter q prefixed every prompt line

Open
#13,946 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
16.8k
Forks
4.5k
Avg merge
1d 2h
Merged PRs (30d)
6

Description

I know the stack could be deep on dependencies, and this could be in prompt 3rd party software, or colorizing, etc, but I'd like to document this issue and see if I can get to the bottom of it.

I upgraded ipdb, which brought in iPython 8.6.0

I know get the letter q before every prompt:

image

TERM is set to linux. I'm using securecrt for a terminal.

The escape code appears to be:

![image](https://user-images.githubusercontent.com/1376251/218668219-8ef9eea4-1a61-47c2-875c-b1f20be9b898.png)

Which is a little odd because I can't find that code in the linux term escape codes.

iPython 7.34.0 does not do this.
iPython 8.0.0 does do this

So this appears to be a change in ipython 7 to 8. The only dependencies that change when I swap versions is:

```
$ poetry add 'ipython<8'

Updating dependencies
Resolving dependencies... (1.8s)

Writing lock file

Package operations: 0 installs, 1 update, 2 removals

• Removing pure-eval (0.2.2)
• Removing stack-data (0.6.2)
• Updating ipython (8.0.0 -> 7.34.0)
```

Maybe this is a bug with my terminal emulator? I will check with them as well.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.