This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients ajaksu2, dingo, giampaolo.rodola, jyasskin, loewis, mark.dickinson, rhettinger
Date 2008-12-21.14:55:50
SpamBayes Score 0.00011744758
Marked as misclassified No
Message-id <>
Cause of segfault was doing Py_XDECREF on a pointer that hadn't been 
initialised to NULL.

Here's a fixed patch.

I still get the instant result:

>>> round(2, -2**31+1)

which is a little odd.  It's the correct result, but I can't see how
it gets there: under the current algorithm, there should be a
10**(2**31-1) happening somewhere, and that would take a *lot* of time 
and memory.  Will investigate.
Date User Action Args
2008-12-21 14:55:54mark.dickinsonsetrecipients: + mark.dickinson, loewis, rhettinger, giampaolo.rodola, ajaksu2, jyasskin, dingo
2008-12-21 14:55:53mark.dickinsonsetmessageid: <>
2008-12-21 14:55:53mark.dickinsonlinkissue4707 messages
2008-12-21 14:55:53mark.dickinsoncreate