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 lemburg
Recipients lemburg, vstinner
Date 2010-06-09.11:06:51
SpamBayes Score 0.006977875
Marked as misclassified No
Message-id <4C0F75CA.5080103@egenix.com>
In-reply-to <1276079837.6.0.123398824969.issue8949@psf.upfronthosting.co.za>
Content
"z" should not accept bytes... why not ?

"z" is the same as "s" with the addition that passing None
as parameter will result in the pointer to get set to NULL.

"s" accepts bytes via the buffer interface, so why should
"z" behave differently ?

If a function should only accept Unicode or None, then "Z"
should be used instead.
History
Date User Action Args
2010-06-09 11:06:53lemburgsetrecipients: + lemburg, vstinner
2010-06-09 11:06:51lemburglinkissue8949 messages
2010-06-09 11:06:51lemburgcreate