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 martin.panter, maxnoe, paul.moore, steve.dower, tim.golden, zach.ware
Date 2018-07-11.09:45:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The problem as I understand it is that Msys uses a pipe, but Python by default limits interactive REPL mode to terminals only. The same thing happens if you start Python on a pipe some other way, for instance “cat | python” vs “cat | python -i”.

I would prefer if Python decided to use interactive mode when no file name is given, rather than by checking if the file is a terminal. But that would break compatibility.

Another tip with Msys: enable unbuffered output with “python -u”. Otherwise output gets buffered, won’t be seen immediately, and may be lost if there is an unclean exit.
Date User Action Args
2018-07-11 09:45:20martin.pantersetrecipients: + martin.panter, paul.moore, tim.golden, zach.ware, steve.dower, maxnoe
2018-07-11 09:45:20martin.pantersetmessageid: <>
2018-07-11 09:45:20martin.panterlinkissue34091 messages
2018-07-11 09:45:20martin.pantercreate