Message87733
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. |
|
Date |
User |
Action |
Args |
2009-05-14 10:41:25 | lehmannro | set | recipients:
+ lehmannro, georg.brandl |
2009-05-14 10:41:24 | lehmannro | set | messageid: <1242297684.85.0.343298807561.issue6019@psf.upfronthosting.co.za> |
2009-05-14 10:41:20 | lehmannro | link | issue6019 messages |
2009-05-14 10:41:19 | lehmannro | create | |
|