[New-bugs-announce] [issue25660] tabs don't work correctly in python repl
Yury Selivanov
report at bugs.python.org
Wed Nov 18 14:58:50 EST 2015
New submission from Yury Selivanov:
When Python is compiled with readline, repeatedly pressing <TAB> key in repl breaks the repl prompt.
Below is what I see when I hit <TAB> 4 times.
yury at ysmac ~/dev/py/cpython $ ./python.exe
Python 3.5.0+ (3.5:4ae62ddf7bc7+, Nov 18 2015, 14:52:57)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.1.76)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>>
>>>
>>>
Reproducible when Python is built from source on latest OS X. Works OK when installed from MacPorts.
Further, if I add
PyOS_ReadlineFunctionPointer = PyOS_StdioReadline;
in PyOS_Readline in myreadline.c, everything works as expected, so I think this is a readline bug.
----------
components: Interpreter Core
messages: 254855
nosy: r.david.murray, serhiy.storchaka, yselivanov
priority: high
severity: normal
status: open
title: tabs don't work correctly in python repl
versions: Python 3.5, Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25660>
_______________________________________
More information about the New-bugs-announce
mailing list