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 vstinner
Recipients docs@python, vstinner
Date 2010-06-06.19:03:51
SpamBayes Score 0.0130772
Marked as misclassified No
Message-id <>
Content is unclear about what is a "string".

Attached patch:
 - Use directly bytes, bytearray and str types
 - Replace "default encoding" by "``'utf-8'`` encoding"
 - Add bytes and/or bytearray to "... buffer compatible object" because it's not easy to understand what is a buffer compatible object, especially because there are different kind of buffer objects: read-only, read-write, pinned, etc.
 - Fix reST syntax ("..note ::")
 - Fix "es", "es#", "et" and "et#" formats: they doesn't accept "character buffer compatible object" (can someone double check that?)

Py_BuildValue(): I choosed to mark U and U# formats as deprecated alias to s/s# => see issue #8848.

I wrote the patch by reading getargs.c.
Date User Action Args
2010-06-06 19:03:55vstinnersetrecipients: + vstinner, docs@python
2010-06-06 19:03:55vstinnersetmessageid: <>
2010-06-06 19:03:54vstinnerlinkissue8925 messages
2010-06-06 19:03:53vstinnercreate