Re: [pygame] PATCH: Python 2.5 support

2007-05-15 Thread René Dudfield
Thanks John. Committed revision 1004. On 5/13/07, John Myers <[EMAIL PROTECTED]> wrote: ack! another reply to myself... I just now noticed the other very similar patch... my patch is somewhat more complete as it fixes the rect_as_sequence things, and includes an #ifdef'd definition of Py_ssize

Re: [pygame] PATCH: Python 2.5 support

2007-05-14 Thread Luca
Just for asking... when a new pygame release with Python 2.5 support will be released? I'm using Python 2.5 and I can't install the 2.4... On 5/13/07, John Myers <[EMAIL PROTECTED]> wrote: ack! another reply to myself... I just now noticed the other very similar patch... my patch is somewhat mo

Re: [pygame] PATCH: Python 2.5 support

2007-05-12 Thread John Myers
ack! another reply to myself... I just now noticed the other very similar patch... my patch is somewhat more complete as it fixes the rect_as_sequence things, and includes an #ifdef'd definition of Py_ssize_t for versions of Python <2.5. other than that, it's identical -- # # electronerd, the

Re: [pygame] PATCH: Python 2.5 support

2007-05-12 Thread John Myers
On Saturday 12 May 2007 21:41:21 John Myers wrote: (snip) Oops, forgot to mention that the patch is against 1.7.1, not current Subversion trunk, sorry. -- # # electronerd, the electronerdian from electronerdia # signature.asc Description: This is a digitally signed message part.

[pygame] PATCH: Python 2.5 support

2007-05-12 Thread John Myers
pygame 1.7.1 fails with Python 2.5, due to the introduction of Py_ssize_t. (it compiles, but calling pygame.event.Event() with keyword arguments fails to actually add anything to the dict used by the event object Following is an initial patch to fix this. I didn't audit the code for correctness