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 Drekin, martin.panter
Date 2015-08-25.02:26:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think Gnu Readline uses standard output for echoing input, prompts, controlling the cursor, etc. You can already see this by redirecting to a separate terminal. In Linux:

$ python > /dev/pts/2

So I think your assumption is not valid. Perhaps you can redirect standard error instead? (python -i . . . 2> output.txt, at least in Linux.) Or maybe use some terminal logging program, like the “script” Unix command. But I’m not sure there is a good use case for enabling Readline without a terminal to output to.
Date User Action Args
2015-08-25 02:26:41martin.pantersetrecipients: + martin.panter, Drekin
2015-08-25 02:26:41martin.pantersetmessageid: <>
2015-08-25 02:26:41martin.panterlinkissue24829 messages
2015-08-25 02:26:40martin.pantercreate