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-04-19.18:18:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429467509.73.0.796549042357.issue24000@psf.upfronthosting.co.za>
In-reply-to
Content
>> Doesn't always zeroes == length?

> "zeroes" requires "length", but "length" does not require "zeroes".  As it happens all the format units supported by str always have both parameters either True or False.  But the Py_UNICODE converter accepts "length" for format units u# and Z#, and doesn't support "zeroes".

"length=True" implies "zeroes=True" in the Py_UNICODE converter. "u" and "Z" don't allow null characters, "u#" and "Z#" allow null characters. "zeroes" doesn't add any information and isn't needed.
History
Date User Action Args
2015-04-19 18:18:29serhiy.storchakasetrecipients: + serhiy.storchaka, larry, zach.ware
2015-04-19 18:18:29serhiy.storchakasetmessageid: <1429467509.73.0.796549042357.issue24000@psf.upfronthosting.co.za>
2015-04-19 18:18:29serhiy.storchakalinkissue24000 messages
2015-04-19 18:18:29serhiy.storchakacreate