[issue20341] Argument Clinic: add "nullable ints"

Larry Hastings report at bugs.python.org
Wed Jan 22 10:49:16 CET 2014


Larry Hastings added the comment:

The bug you saw was an easy fix; the converter function needs to return 1 (success) from the "== Py_None" branch.

And yes, more unit tests would be good, fixing the documentation would be good too.  I did say the patch was nowhere near ready.

I will assume unless I hear otherwise that I should proceed with the patch and flesh out all the different and float types.

----------

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


More information about the Python-bugs-list mailing list