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

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



Hi Marcus!

OK, I'll hold with the Python API testing.
Tell me when. :)

/Peter

On 2008-06-29 (Sun) 15:30, Marcus von Appen wrote:
> 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