Author emmanuel
Recipients Kevin.Barry, emmanuel, vstinner
Date 2013-03-20.22:58:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363820313.71.0.728425567978.issue14916@psf.upfronthosting.co.za>
In-reply-to
Content
Kevin,
I've read more carefully your messages and investigated some more.
It seems that there are several issues:
1/ To take input from a defined tty without interfering with standard file descriptors
2/ To have the result (object) of evaluation printed to a defined tty without interfering with standard file descriptors
3/ (optionally) To direct to the tty (or not) the output that is a side effect of the evaluation
Provided that no one messes with PyOS_ReadlineFunctionPointer (as with "import readline") it should be possible to solve 1 without modifying Python, and "approximately" solve 2 (with 3 implied out of necessity).
On the other hand, modifying Python as you suggest could solve 1, but issues 2 and 3 would still remain and probably require some other modifications.
History
Date User Action Args
2013-03-20 22:58:33emmanuelsetrecipients: + emmanuel, vstinner, Kevin.Barry
2013-03-20 22:58:33emmanuelsetmessageid: <1363820313.71.0.728425567978.issue14916@psf.upfronthosting.co.za>
2013-03-20 22:58:33emmanuellinkissue14916 messages
2013-03-20 22:58:33emmanuelcreate