[Python-Dev] SIGCHECK() in longobject.c (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Mon Oct 19 00:46:04 CEST 2009
- Previous message: [Python-Dev] SIGCHECK() in longobject.c
- Next message: [Python-Dev] SIGCHECK() in longobject.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Daniel Stutzbach <daniel stutzbachenterprises.com> writes:
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.
- Previous message: [Python-Dev] SIGCHECK() in longobject.c
- Next message: [Python-Dev] SIGCHECK() in longobject.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]