Message7674
Yes, this happens for me in 2.7b1+ on Windows 7 x64. (I tried it when I saw Edward's post.)
As remarked in my previous post (2013-02-04) I thought fixing #1967 was necessary, but there's an extra problem at the DOS prompt. If I remember rightly, in that context InputStream provides characters one at a time and the line ending is just \r.
I find I get satisfactory results from the alternative console org.python.util.InteractiveConsole although I lose the interactive line recall, of course.
dev>jython -Dpython.console=org.python.util.InteractiveConsole
Jython 2.7b1+ (default:1af38173c96d, Feb 12 2013, 15:40:07)
[Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_35
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.stdin.readline()
abcdef
'abcdef\n'
>>>
Am I in the best position to fix it? |
|
Date |
User |
Action |
Args |
2013-02-13 21:54:07 | jeff.allen | set | messageid: <1360792447.46.0.913642026759.issue1972@psf.upfronthosting.co.za> |
2013-02-13 21:54:07 | jeff.allen | set | recipients:
+ jeff.allen, fwierzbicki, amak, vitaly, emcdowell |
2013-02-13 21:54:07 | jeff.allen | link | issue1972 messages |
2013-02-13 21:54:07 | jeff.allen | create | |
|