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-06-02.09:46:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464860765.13.0.103825288176.issue16182@psf.upfronthosting.co.za>
In-reply-to
Content
V3 finishes what I started in v2:

* Changed unchecked PyBytes_AsString() → PyBytes_AS_STRING()
* Testing more functions for non-ASCII characters

I tried to test it with Editline on Linux (using my patch for Issue 13501). There seem to be many quirks with my version of Editline, some of which are not easy to work around:

* Initial CR swallowed when entering non-ASCII
* set_completion_display_matches_hook(), set_pre_input_hook(), set_completer_delims() all do nothing useful
* get_history_item() not updated straight after read_history_file()

I suspect Apple has patched their version of Editline, but if these quirks exist on Apple as well, it might be simplest to skip the test for Editline.
History
Date User Action Args
2016-06-02 09:46:05martin.pantersetrecipients: + martin.panter, lemburg, loewis, vstinner, ezio.melotti, serhiy.storchaka, kunkku
2016-06-02 09:46:05martin.pantersetmessageid: <1464860765.13.0.103825288176.issue16182@psf.upfronthosting.co.za>
2016-06-02 09:46:05martin.panterlinkissue16182 messages
2016-06-02 09:46:04martin.pantercreate