homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients rhettinger, terry.reedy
Date 2016年05月22日.01:43:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463881383.42.0.876902574545.issue27082@psf.upfronthosting.co.za>
In-reply-to
Content
IDLE should check the size of lines in a result string before printing it. Perhaps it should have a "..." after some user settable limit is reached.
>>> '=' * 100000 # Destroys IDLE
>>> json.load(somebigfile) # Makes IDLE unusably sluggish
The problem only occurs when an individual line is long:
>>> s = 'some reasonable single line\n' * 1000)
>>> print(s) # Separate lines are no problem
>>> s # A big single line repr renders IDLE sluggish
Note, the sluggishness persists across sessions -- a "Restart Shell" doesn't help.
In my Python classes, this is a common and recurring problem that negatively impacts the learner's user experience.
History
Date User Action Args
2016年05月22日 01:43:03rhettingersetrecipients: + rhettinger, terry.reedy
2016年05月22日 01:43:03rhettingersetmessageid: <1463881383.42.0.876902574545.issue27082@psf.upfronthosting.co.za>
2016年05月22日 01:43:03rhettingerlinkissue27082 messages
2016年05月22日 01:43:02rhettingercreate

AltStyle によって変換されたページ (->オリジナル) /