Message195099
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 tests for this class are committed in #18425, I plan to eliminate the unneeded parameter, splits, joins, and methods and inline the remaining text.get and .insert in .fetch. I want to do a few other transparent modernizations in the .fetch code, such as replacing 4 of the lines with
pointer += -1 if reverse else 1 |
|
Date |
User |
Action |
Args |
2013-08-13 21:20:31 | terry.reedy | set | recipients:
+ terry.reedy |
2013-08-13 21:20:31 | terry.reedy | set | messageid: <1376428831.4.0.308828193599.issue18732@psf.upfronthosting.co.za> |
2013-08-13 21:20:31 | terry.reedy | link | issue18732 messages |
2013-08-13 21:20:31 | terry.reedy | create | |
|