[issue18732] IdleHistory.History: eliminate unused parameter; other cleanup.

2013-08-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue18732] IdleHistory.History: eliminate unused parameter; other cleanup.

2013-08-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7339dcff171f by Terry Jan Reedy in branch '2.7': Issue #18732: Remove unused* parameter output_sep from IdleHistory.History http://hg.python.org/cpython/rev/7339dcff171f New changeset 3105b78d3434 by Terry Jan Reedy in branch '3.3': Issue #18732: Re

[issue18732] IdleHistory.History: eliminate unused parameter; other cleanup.

2013-08-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- dependencies: +IDLE Unit test for IdleHistory.py ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue18732] IdleHistory.History: eliminate unused parameter; other cleanup.

2013-08-13 Thread Terry J. Reedy
New submission from Terry J. Reedy: idlelib.IdleHistory is only imported in PyShell.PyShell. History is only instantiated once, with output_sep defaulting to \n. This constant parameter and the consequence splitting and joining with \n in ._get_source and ._put_source are useless. After the te