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 janssen
Recipients georg.brandl, janssen
Date 2008-05-06.16:38:36
SpamBayes Score 0.034772463
Marked as misclassified No
Message-id <1210091918.21.0.990068864292.issue2774@psf.upfronthosting.co.za>
In-reply-to
Content
Once again I'm reading through the ctypes documentation and finding it
wildly confusing/contradictory.  For instance, there's no discussion of
how ctypes types interact with malloc and free.  The tutorial section is
discursive and rambling.  The type "c_size_t" isn't mentioned in the
section labelled "Fundamental Data Types", but does show up in another
section also labelled "Fundamental Data Types".  The "reference" doesn't
document the use of pointers or arrays.  I find it hard to see how
anyone who doesn't read the ctypes code (several times) could find out
how to use it from the documentation.

I'd suggest getting rid of the Tutorial section, moving it to a
standalone document somewhere, and finishing the writing of the
Reference section.  Adding a chapter discussing when to use ctypes and
when to use the C API might also be a good idea.
History
Date User Action Args
2008-05-06 16:38:38janssensetspambayes_score: 0.0347725 -> 0.034772463
recipients: + janssen, georg.brandl
2008-05-06 16:38:38janssensetspambayes_score: 0.0347725 -> 0.0347725
messageid: <1210091918.21.0.990068864292.issue2774@psf.upfronthosting.co.za>
2008-05-06 16:38:37janssenlinkissue2774 messages
2008-05-06 16:38:36janssencreate