[issue24222] Idle 2.7 -c, -r compile with print as function.

2019-03-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue24222] Idle 2.7 -c, -r compile with print as function.

2015-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: This trivial patch fixes a regression I introduced in 2.7.9. It would be nice if you could pull it into the .10 release. (I would not ask if it were not a recent regression.) -- nosy: +benjamin.peterson ___ Python

[issue24222] Idle 2.7 -c, -r compile with print as function.

2015-05-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset cebd51686565 by Terry Jan Reedy in branch '2.7': Issue #24222: Fix regression introduced with idlelib/PyShell.py future print https://hg.python.org/cpython/rev/cebd51686565 -- nosy: +python-dev ___ Python

[issue24222] Idle 2.7 -c, -r compile with print as function.

2015-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I added "from __future__ import print_function" to 2.7 PyShell when I backported the bugfix of #22420. The use of print rather than write is part of the fix as print is more fault tolerant. -- resolution: -> fixed stage: needs patch -> resolved statu

[issue24222] Idle 2.7 -c, -r compile with print as function.

2015-05-17 Thread Terry J. Reedy
New submission from Terry J. Reedy: C:\Users\Terry>py -2 -m idlelib.idle -c "print True" >>> *** Error in script or command! Traceback (most recent call last): File "", line 1 print True ^ SyntaxError: invalid syntax https://stackoverflow.com/questions/30280525/python-idle-gi