Author lehmannro
Recipients georg.brandl, lehmannro
Date 2009-05-14.10:41:17
SpamBayes Score 9.54399e-07
Marked as misclassified No
Message-id <1242297684.85.0.343298807561.issue6019@psf.upfronthosting.co.za>
In-reply-to
Content
There are a few errors in the ctypes documentation covering function
calls using the example of `libc.printf`. It's basically just typos but
they are really confusing when trying to understand the examples.

Patch to trunk is attached. Corrections should apply to 3.x as well but
I'm unsure whether they apply cleanly to those branches, see issue4309
for details.

Unicode coercion as in printf("%S", u"abc") keeps segfaulting for me
with 2.5 so I'm unsure about the example's validity there; corrections
could be backported to 2.5-maint as well though. 2.4 and below are not
affected: ctypes was not present in these versions.
History
Date User Action Args
2009-05-14 10:41:25lehmannrosetrecipients: + lehmannro, georg.brandl
2009-05-14 10:41:24lehmannrosetmessageid: <1242297684.85.0.343298807561.issue6019@psf.upfronthosting.co.za>
2009-05-14 10:41:20lehmannrolinkissue6019 messages
2009-05-14 10:41:19lehmannrocreate