[issue20341] Argument Clinic: add "nullable ints"

Antoine Pitrou report at bugs.python.org
Wed Jan 22 14:53:08 CET 2014


Antoine Pitrou added the comment:

Some things:
- the concept of a nullable thing in Python doesn't exist; why not "optional"?
- why is there a "error" field in the new structs?
- the fact that the structs are defined in longobject.h looks bonkers
- boolean fields can be "char" instead of "int" (and moved at the end to pack the structure more efficiently)
- PyLong_AsSsize_t can't fail?
- does this change have a performance impact?

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list