Message254855
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@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. |
|
Date |
User |
Action |
Args |
2015-11-18 19:58:50 | yselivanov | set | recipients:
+ yselivanov, r.david.murray, serhiy.storchaka |
2015-11-18 19:58:50 | yselivanov | set | messageid: <1447876730.91.0.918964104484.issue25660@psf.upfronthosting.co.za> |
2015-11-18 19:58:50 | yselivanov | link | issue25660 messages |
2015-11-18 19:58:50 | yselivanov | create | |
|