[issue28933] AC: Accept None as a Py_ssize_t default value
Serhiy Storchaka
report at bugs.python.org
Mon Dec 12 15:10:29 EST 2016
Serhiy Storchaka added the comment:
Agreed with Larry. "Special cases aren't special enough to break the rules." General converter shouldn't be changed for just one use case. Write your own special converter. Or just use the "O" converter and manually convert Python object to C value. That can be simpler and more readable.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28933>
_______________________________________
More information about the Python-bugs-list
mailing list