Serhiy Storchaka added the comment:

> I don't remember who specifically needed the nullable ints, so I just added a 
> bunch of Derby contestants.

There are no much need in nullable ints, if they are needed, different use 
cases require different semantic. I don't think we can now write general 
converters which will cover different use cases. May be in 3.5, when behavior 
changes will be possible.

I know only one use case for nullable Py_ssize_t converter (and 
mmap_convert_ssize_t is much simpler). itertolls.repeat doesn't need it, 
because it shouldn't accept None.

Let defer this issue until most of code will be converted. Then we can 
accumulate statistic about nullable in converters.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20341>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to