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

Daniel Stutzbach daniel at stutzbachenterprises.com
Mon Oct 19 01:05:54 CEST 2009


On Sun, Oct 18, 2009 at 5:46 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:

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()

That's a good point, although I can't recall the last time I accidently created a painfully large list. I can recall the last time I started a painfully large integer computation.

Being able to stop the interpretter with Control-C instead of kill -9 is a minor convenience, though. I could live without it. (Although I can't speak for everyone, of course)

-- Daniel Stutzbach, Ph.D. President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20091018/5e9d66b0/attachment.htm>



More information about the Python-Dev mailing list