Author yselivanov
Recipients r.david.murray, serhiy.storchaka, yselivanov
Date 2015-11-18.19:58:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447876730.91.0.918964104484.issue25660@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-11-18 19:58:50yselivanovsetrecipients: + yselivanov, r.david.murray, serhiy.storchaka
2015-11-18 19:58:50yselivanovsetmessageid: <1447876730.91.0.918964104484.issue25660@psf.upfronthosting.co.za>
2015-11-18 19:58:50yselivanovlinkissue25660 messages
2015-11-18 19:58:50yselivanovcreate