Message77636
| 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 |
<1229036741.24.0.929295640586.issue3439@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Oops, you're right Mark: PyErr_Clear() is needed! New patch:
- don't catch error different than PyExc_OverflowError in
long_numbits()
- 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. |
|