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
Date 2015-08-08.14:48:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1439045336.84.0.292650421837.issue24829@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, if one redirects stdout, readline hook is not used (see https://hg.python.org/cpython/file/default/Parser/myreadline.c#l208). I would assume that if I run Python as "py -i > output.txt", I can use GNU readline or other readline hook for input just like normal; only the output is redirected to the file.
History
Date User Action Args
2015-08-08 14:48:56Drekinsetrecipients: + Drekin
2015-08-08 14:48:56Drekinsetmessageid: <1439045336.84.0.292650421837.issue24829@psf.upfronthosting.co.za>
2015-08-08 14:48:56Drekinlinkissue24829 messages
2015-08-08 14:48:55Drekincreate