[issue12909] Inconsistent exception usage in PyLong_As* C functions

Nadeem Vawda report at bugs.python.org
Wed Sep 7 21:46:30 CEST 2011


Nadeem Vawda <nadeem.vawda at gmail.com> added the comment:

> The 'Py_None' reference counting in test_long_as_size and
> test_long_as_double looked a little odd at first glance

Indeed, it is rather roundabout, so I added a comment to avoid confusion.

> Anyway, those are just nitpicks;  I leave it to you whether you want to
> change anything.  Otherwise, please go ahead and apply.  Thanks for the
> patches!

Thanks for the review.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12909>
_______________________________________


More information about the Python-bugs-list mailing list