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.

Author martin.panter
Recipients ezio.melotti, kunkku, lemburg, loewis, martin.panter, serhiy.storchaka, vstinner
Date 2016-05-31.13:51:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464702704.36.0.814796487919.issue16182@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch adds a possible test, and fixes the truncation problem I mentioned above.

I tried testing set_completer_delims() with a UTF-8 locale, but I suspect Gnu Readline does not support it. I called set_completer_delims("\xF6"), which encodes as C3 B6, but it seems to be breaking any UTF-8 sequence in half at a C3 byte. In other words, it is treating the delimiter list as a list of bytes, not code points. So I changed to an ASCII delimiter.
History
Date User Action Args
2016-05-31 13:51:44martin.pantersetrecipients: + martin.panter, lemburg, loewis, vstinner, ezio.melotti, serhiy.storchaka, kunkku
2016-05-31 13:51:44martin.pantersetmessageid: <1464702704.36.0.814796487919.issue16182@psf.upfronthosting.co.za>
2016-05-31 13:51:44martin.panterlinkissue16182 messages
2016-05-31 13:51:44martin.pantercreate