Message195099
| Author |
terry.reedy |
| Recipients |
terry.reedy |
| Date |
2013年08月13日.21:20:31 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1376428831.4.0.308828193599.issue18732@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|