[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] The gsoc physics module, bug fixing?



On, Sun Jun 29, 2008, Peter Gebauer wrote:

> Hi Zhang and others!

[Python wrapper issues]

The wrapper implementation is not really started yet, so it's a bit
early. In order to keep argument parsing flexible, I'd recommend using
METH_VARARGS and PyArg_ParseTuple() instead of the _0, ... macros. This
let's one easily enhance anything without the need to change too much
code. Additionally you can let the parser handle argument checking
without the need to deal with ex- or implicit object conversions.

Regards
Marcus

Attachment: pgpSMUgBZusH4.pgp
Description: PGP signature