A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-October/093076.html below:

[Python-Dev] SIGCHECK() in longobject.c

[Python-Dev] SIGCHECK() in longobject.c [Python-Dev] SIGCHECK() in longobject.cAntoine Pitrou solipsis at pitrou.net
Mon Oct 19 00:46:04 CEST 2009
Daniel Stutzbach <daniel <at> 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.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4