[issue24671] idlelib 2.7: finish converting print statements

2016-05-30 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I no longer plan to backport enough patches to make further fixes worthwhile in 
the absence of otherwise working on a file.  In the absence of adequate tests, 
there is also the non-0 chance of introducing bugs.

--
assignee:  -> terry.reedy
resolution:  -> fixed
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24671] idlelib 2.7: finish converting print statements

2015-07-19 Thread Terry J. Reedy

New submission from Terry J. Reedy:

Porting patches from 3.x to 2.7 would be much easier if print were always a 
function and not a statement in 2.7.

Two modules, configHandler and PyShell, have been converted to print functions 
(from __future__ import print_function and () added).

GrepDialog has parentheses added everywhere, WidgetRedirector has them in 1 of 
2 places.  Both could use the import so print(a,b) is not printed as a tuple 
when not intended to.  I intend to patch these separately.

These modules only have print statements:  ColorDelegator, EditorWindow, 
FileList, MultiCall, Percolator, ScrolledList, UndoDelegator, WindowList, 
rpc.py, run.py.

I believe these could all be patched correctly most easily with the help of 
2to3 with just the print fixer used. The last two use file.

MultiCall also has commented-out prints. RemoteDebugger only has such.
These could be uncommented, fixed, and recommented in a separate patch.

Any adjustment of print args to match 3.x should at least be a separate patch, 
if not issue.

--
components: IDLE
messages: 246950
nosy: serhiy.storchaka, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: idlelib 2.7: finish converting print statements
type: enhancement
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24671
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24671] idlelib 2.7: finish converting print statements

2015-07-19 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 949ba97beece by Terry Jan Reedy in branch '2.7':
Issue #24671: Finish print conversion, idlelib GrepDialog and WidgetRedirector.
https://hg.python.org/cpython/rev/949ba97beece

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24671
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com