[New-bugs-announce] [issue38673] REPL shows continuation prompt (...) when comment or space entered

Guido van Rossum report at bugs.python.org
Sun Nov 3 11:15:35 EST 2019


New submission from Guido van Rossum <guido at python.org>:

This has always bothered me, and it shouldn't be necessary.

This session:

>>> #foo
... 
>>> 

should really have been

>>> #foo
>>>

It's confusing that the REPL prompt switches to "..." here, for no good reason. It should just treat the line as empty.

Ditto if you enter a space (there's an invisible space after the first prompt):

>>>  
... 
>>>

----------
components: Interpreter Core
messages: 355903
nosy: gvanrossum
priority: low
severity: normal
status: open
title: REPL shows continuation prompt (...) when comment or space entered
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38673>
_______________________________________


More information about the New-bugs-announce mailing list