hi,
yeah, that plan of generating two .c files will most likely work
(assuming cython is up to the challenge)... Just including the
appropriate .c file for each version of python.
Will try that out too.
cu,
On Wed, May 13, 2009 at 1:59 AM, Lenard Lindstrom <len-l@xxxxxxxxx
<mailto:len-l@xxxxxxxxx>> wrote:
Hi René,
René Dudfield wrote:
hello,
I'm hoping we can release pygame1.9 in 3-4 weeks.
[snip]
I'd like to finally finish off the pygame.midi stuff (docs and
tests)...
If you want to add midi for Python 3.1 then you will have to look
at the Pyrex generated pypm.c file. As far as I know Pyrex doesn't
yet support Python 3. But Cython does. However Cython might
generate differing C files for Python 3.x and 2.x. It may be
necessary to have two versions of pypm.c, with the appropriate one
selected at build time.