Message9812

Author jmadden
Recipients jmadden
Date 2015-04-13.19:24:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428953098.86.0.712628500866.issue2325@psf.upfronthosting.co.za>
In-reply-to
Content
In Jython 2.7rc2, if the stdin is a pipe, the printing of the interactive prompts is not suppressed. This worked in 2.5:

 $ echo 'print 1' | python2.7
 1
 $ echo 'print 1' | pypy
 1
 $ echo 'print 1' | jython2.5.4/bin/jython
 1
 
 $ echo 'print 1' | jython2.7rc2/bin/jython
 >>> 1
 >>>
 $

(Both versions print an extra newline, but that's probably ok.)

Unfortunately, this breaks `tox`:

 $ tox --version
 1.9.2 imported from ...
 $ tox -e jython
 GLOB sdist-make: transaction/setup.py
 jython create: transaction/.tox/jython
 ERROR: InvocationError: Failed to get version_info for jython: could not decode ">>> ... ... ... >>> {'version_info': (2, 7, 0, 'candidate', 2)}\n>>> "
History
Date User Action Args
2015-04-13 19:24:58jmaddensetrecipients: + jmadden
2015-04-13 19:24:58jmaddensetmessageid: <1428953098.86.0.712628500866.issue2325@psf.upfronthosting.co.za>
2015-04-13 19:24:58jmaddenlinkissue2325 messages
2015-04-13 19:24:58jmaddencreate