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, lemburg, pitrou, vstinner
Date 2010-06-08.22:30:34
SpamBayes Score 0.005115013
Marked as misclassified No
Message-id <1276036241.77.0.435177115911.issue8939@psf.upfronthosting.co.za>
In-reply-to
Content
Big patch:
 - replace Python types by C Python types (eg. str => PyUnicodeObject* and None => Py_None)
 - fix "w" / "w*" / "w#" doc: similar to "y" / "y*" / "y#" (and not "s" / "s*" / "s#")
 - add quotes to the formats, eg. s => "s"
 - use :ctype: to add links to some terms (eg. Py_BEGIN_ALLOW_THREADS) and use a fixed width font
 - replace "the default encoding" by "'utf-8' encoding"
 - replace true by 1, and false by 0 (C API of Python doesn't use stdbool.h but classic int)
 - use a list for the two modes of "es#"
 - Py_BuildValue(), "s" and "s#" formats: specify that the Python object is a str

1 and 0 were formatted with ``1`` and ``0``. I don't understand why, so I removed the italic style.

Sorry for the length of the patch, but it was easy to work on only one aspect.
History
Date User Action Args
2010-06-08 22:30:42vstinnersetrecipients: + vstinner, lemburg, pitrou, docs@python
2010-06-08 22:30:41vstinnersetmessageid: <1276036241.77.0.435177115911.issue8939@psf.upfronthosting.co.za>
2010-06-08 22:30:39vstinnerlinkissue8939 messages
2010-06-08 22:30:39vstinnercreate