This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients larry, serhiy.storchaka, zach.ware
Date 2015-05-04.19:28:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430767681.45.0.655204909687.issue24000@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-05-04 19:28:01serhiy.storchakasetrecipients: + serhiy.storchaka, larry, zach.ware
2015-05-04 19:28:01serhiy.storchakasetmessageid: <1430767681.45.0.655204909687.issue24000@psf.upfronthosting.co.za>
2015-05-04 19:28:01serhiy.storchakalinkissue24000 messages
2015-05-04 19:28:01serhiy.storchakacreate