Issue 31168: IDLE hangs with absurdly long __repr__s (original) (raw)

Issue31168

Created on 2017-08-10 02:04 by bup, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg300036 - (view) Author: Dan Snider (bup) * Date: 2017-08-10 02:04
Objects with a 500,000+ character __repr__ will cause the IDLE shell to hang and thus lose any progress on open windows. 200,000 (on a decent system) seems to be the tipping point where it can never recover.
msg300110 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2017-08-10 17:36
I am quite aware that tk text widgets (and probably other widgets) have line-length limitations. Which issue this duplicates depends on what action you propose. #28840 proposes addressing limits in the docs. #1442493 is about code changes.
History
Date User Action Args
2022-04-11 14:58:49 admin set github: 75351
2017-08-10 17:36:06 terry.reedy set status: open -> closedtype: behaviormessages: + resolution: duplicatestage: resolved
2017-08-10 02:04:45 bup create