Re: [pygame] PATCH: Make PyGame use new NumPy

2007-01-29 Thread Travis Oliphant
Lenard Lindstrom wrote: Travis Oliphant wrote: Lenard Lindstrom wrote: Travis Oliphant wrote: Did you confirm that pygame.surfarray.pixels_alpha() returns a writable array? I didn't check. Could you show me code that demonstrates the problem. This example program: import pygame from pyga

Re: [pygame] PATCH: Make PyGame use new NumPy

2007-01-29 Thread Lenard Lindstrom
Travis Oliphant wrote: Lenard Lindstrom wrote: Travis Oliphant wrote: This patch was created as a difference with r983 in SVN. The changes are straightforward and discussed here: http://www.scipy.org/Porting_to_NumPy under the PyGame header. I tested the results on my Ubuntu system and t

Re: [pygame] PATCH: Make PyGame use new NumPy

2007-01-27 Thread Travis Oliphant
Lenard Lindstrom wrote: Travis Oliphant wrote: This patch was created as a difference with r983 in SVN. The changes are straightforward and discussed here: http://www.scipy.org/Porting_to_NumPy under the PyGame header. I tested the results on my Ubuntu system and the arraydemo and sound

Re: [pygame] PATCH: Make PyGame use new NumPy

2007-01-27 Thread Lenard Lindstrom
Travis Oliphant wrote: This patch was created as a difference with r983 in SVN. The changes are straightforward and discussed here: http://www.scipy.org/Porting_to_NumPy under the PyGame header. I tested the results on my Ubuntu system and the arraydemo and sound demo programs seemed to w

Re: [pygame] PATCH: Make PyGame use new NumPy

2007-01-27 Thread Rikard Bosnjakovic
On 1/27/07, David Gowers <[EMAIL PROTECTED]> wrote: Looking it over, it seems that your email program has removed some vital spaces -- for instance, after the - and +'s. I suggest attaching it to your email instead. The patch was attached to his email. Also, may I suggest you discard useless

Re: [pygame] PATCH: Make PyGame use new NumPy

2007-01-26 Thread David Gowers
On 1/27/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: [snip long e-mail] > > > I'd like to see this included. Unfortunately, when I copy and paste it > into a diff file using firefox+xemacs, and try to apply it, it says > 'patch: malformed patch at line 5: --- 23,22 ' > Looking it ov

Re: [pygame] PATCH: Make PyGame use new NumPy

2007-01-26 Thread Luke Paireepinart
[snip long e-mail] I'd like to see this included. Unfortunately, when I copy and paste it into a diff file using firefox+xemacs, and try to apply it, it says 'patch: malformed patch at line 5: --- 23,22 ' Looking it over, it seems that your email program has removed some vital space

Re: [pygame] PATCH: Make PyGame use new NumPy

2007-01-26 Thread David Gowers
On 1/27/07, Travis Oliphant <[EMAIL PROTECTED]> wrote: This patch was created as a difference with r983 in SVN. The changes are straightforward and discussed here: http://www.scipy.org/Porting_to_NumPy under the PyGame header. I tested the results on my Ubuntu system and the arraydemo and s

[pygame] PATCH: Make PyGame use new NumPy

2007-01-26 Thread Travis Oliphant
This patch was created as a difference with r983 in SVN. The changes are straightforward and discussed here: http://www.scipy.org/Porting_to_NumPy under the PyGame header. I tested the results on my Ubuntu system and the arraydemo and sound demo programs seemed to work fine. It would be