This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Backspace not clearing the text
Type: Stage: resolved
Components: Versions: Python 3.9
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: ketanbhatt18, serhiy.storchaka, steven.daprano
Priority: normal Keywords:

Created on 2020-08-15 15:24 by ketanbhatt18, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
bug.ipynb ketanbhatt18, 2020-08-15 15:24 bug.ipynb file
Messages (5)
msg375469 - (view) Author: Ketan Bhatt (ketanbhatt18) * Date: 2020-08-15 15:24
The below statement is not clearing the text, although there are three backspaces:

print("123",end="\b\b\b")

The output from the Jupiter note book is 12!!!
msg375474 - (view) Author: Steven D'Aprano (steven.daprano) * (Python committer) Date: 2020-08-15 16:08
Works correctly for me in the Python interpreter.

Please check if it works for you in the Python interpreter, if it does, then it is a bug in Jupyter and should be reported to them, we cannot do anything to fix it.
msg375476 - (view) Author: Ketan Bhatt (ketanbhatt18) * Date: 2020-08-15 16:48
Dear Steven,

Checked in the interpreter from the terminal and you are right, the output is as desired, and there is no bug.
As advised, I will report this to the Jupyter team.
Thank you for your confirmation and advised.
Regards,
Ketan Bhatt.

> On 15-Aug-2020, at 9:38 PM, Steven D'Aprano <report@bugs.python.org> wrote:
> 
> 
> Steven D'Aprano <steve+python@pearwood.info> added the comment:
> 
> Works correctly for me in the Python interpreter.
> 
> Please check if it works for you in the Python interpreter, if it does, then it is a bug in Jupyter and should be reported to them, we cannot do anything to fix it.
> 
> ----------
> nosy: +steven.daprano
> 
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue41558>
> _______________________________________
msg375477 - (view) Author: Ketan Bhatt (ketanbhatt18) * Date: 2020-08-15 16:49
> Dear Steven,
> 
> Checked in the interpreter from the terminal and you are right, the output is as desired, and there is no bug.
> As advised, I will report this to the Jupyter team.
> Thank you for your confirmation and advised.
> Regards,
> Ketan Bhatt.

> 
> 
>> On 15-Aug-2020, at 9:38 PM, Steven D'Aprano <report@bugs.python.org> wrote:
>> 
>> 
>> Steven D'Aprano <steve+python@pearwood.info> added the comment:
>> 
>> Works correctly for me in the Python interpreter.
>> 
>> Please check if it works for you in the Python interpreter, if it does, then it is a bug in Jupyter and should be reported to them, we cannot do anything to fix it.
>> 
>> ----------
>> nosy: +steven.daprano
>> 
>> _______________________________________
>> Python tracker <report@bugs.python.org>
>> <https://bugs.python.org/issue41558>
>> _______________________________________
> 
> ----------
> 
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue41558>
> _______________________________________
msg375492 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2020-08-15 19:26
I do not even think that it is a bug in Jupyter. It is expected that different output devices can support or not support specific control characters. It is rather a feature request to add support of the backslash character (and maybe other control characters like caret return, horizontal and vertical tabs, etc) in Jupiter.
History
Date User Action Args
2022-04-11 14:59:34adminsetgithub: 85730
2020-08-15 19:26:44serhiy.storchakasetstatus: open -> closed

nosy: + serhiy.storchaka
messages: + msg375492

resolution: not a bug
stage: resolved
2020-08-15 16:49:25ketanbhatt18setmessages: + msg375477
2020-08-15 16:48:18ketanbhatt18setmessages: + msg375476
2020-08-15 16:08:27steven.dapranosetnosy: + steven.daprano
messages: + msg375474
2020-08-15 15:24:25ketanbhatt18create