18 Oct
2009
18 Oct
'09
10:46 p.m.
Daniel Stutzbach
I sometimes do million-digits calculations that I want to interrupt using
Control-C.(particularly when I didn't *intend* to do a million-digits calculation... ;) )-- Sure, but it's no different than doing, e.g.: list(range(100000000)).sort() (don't try this, it just made by computer slow down to a crawl and I had to kill -9 the Python interpreter) The question is whether there is still any reason to special-case long objects and not, say, list.sort() or re.sub(). Regards Antoine.