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 Drekin
Recipients Drekin, benjamin.peterson, brett.cannon, eric.araujo, georg.brandl, gvanrossum, ncoghlan, pitrou, steve.dower, tshepang, vstinner
Date 2015-04-28.10:06:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430215595.33.0.83872796882.issue17620@psf.upfronthosting.co.za>
In-reply-to
Content
Note that under status quo PyOS_Readline is called from two places: the tokenizer during an interactive session and the builtin function input. The tokenizer passes promptstring encoded in sys.stdin.encoding while input() passes promtstring encoded in sys.stdout.encoding, so it is not possible to implement a readline hook correctly in the case the encodings are different. This might be considered a bug.
History
Date User Action Args
2015-04-28 10:06:35Drekinsetrecipients: + Drekin, gvanrossum, brett.cannon, georg.brandl, ncoghlan, pitrou, vstinner, benjamin.peterson, eric.araujo, tshepang, steve.dower
2015-04-28 10:06:35Drekinsetmessageid: <1430215595.33.0.83872796882.issue17620@psf.upfronthosting.co.za>
2015-04-28 10:06:35Drekinlinkissue17620 messages
2015-04-28 10:06:34Drekincreate