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 vstinner
Recipients fredrikj, loewis, mark.dickinson, rhettinger, terry.reedy, vstinner
Date 2008-12-11.23:05:36
SpamBayes Score 8.444454e-09
Marked as misclassified No
Message-id <>
Oops, you're right Mark: PyErr_Clear() is needed! New patch:
 - don't catch error different than PyExc_OverflowError in 
 - clear error in long_numbits()
 - fix doc indentation

About the indentation: i'm using >>svndiff='svn 
diff --diff-cmd="/usr/bin/diff" -x "-ub"'<< instead of svn diff 
because my editor removes trailing spaces.

I prefer to keep the "fast path" (use _PyLong_NumBits) as *you* 
proposed in another message: Message75767.
Date User Action Args
2008-12-11 23:05:42vstinnersetrecipients: + vstinner, loewis, rhettinger, terry.reedy, mark.dickinson, fredrikj
2008-12-11 23:05:41vstinnersetmessageid: <>
2008-12-11 23:05:40vstinnerlinkissue3439 messages
2008-12-11 23:05:39vstinnercreate