Serhiy Storchaka added the comment:

Why not left the length parameter instead? First, current code uses "length". 
Second, the main effect from C side is that an argument is a pair (pointer, 
length), not just a pointer. Third, currently everywhere in Python 
documentation and error messages the used term is "null character/byte", so if 
left the zeros parameter, it should be renamed to allow_nulls or allow_nuls. 
Fourth, "y#" needs zeros=True for distinguish from "y", but "y*" allows nulls 
and has no the zeros parameter.

----------

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

Reply via email to