It seems that tk needs to write a lot of data in the shell frame, it takes a lot of time, and when the list is long, it becomes unresponsive.
I did:
>>a = range(n)
>>print(list(a))
n = 100 n = 1000. . n 10000 .
, . n, , clear() , , , - . , , ...
2012:
IDLE , IdleX.
. IdleX , , , . , , ( ). , .
