[issue4707] round() shows undocumented behaviour
Mark Dickinson
report at bugs.python.org
Sun Dec 21 15:37:12 CET 2008
Mark Dickinson <dickinsm at gmail.com> added the comment:
> >>> round(2, -2**31 + 2) # Press Ctrl + C
> Segmentation fault
> (backtrace below)
Thanks, Daniel. It looks like I messed up the refcounting in the error-
handling section of the code. I'll fix this.
I don't think the hang itself should be considered a bug, any more
than the hang from "10**(2**31-1)" is a bug.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4707>
_______________________________________
More information about the Python-bugs-list
mailing list