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

Re: [pygame] Surfarray.array_alpha() bugfix, py2exe/py2app segfault



On, Tue Feb 03, 2009, Lenard Lindstrom wrote:

> Marcus von Appen wrote:
> > On, Mon Feb 02, 2009, Zack Schilling wrote:
> >
> > [numpy surfarray problems]
> >
> > The more I read about the numpy problems for numpysurfarray and
> > numpysndarray, the more I'd love to throw that whole bunch away...
> >
> > Sorry for being not constructive ;-). If noone else is quicker with
> > that, I'll start to rework the whole numpy stuff from next week on or so
> > within the pgreloaded branch and port it to the trunk later on - it
> > needs some refactoring anyways to get rid of the being-50-times-slower
> > issue(s).
> >
> > Regards
> > Marcus
> >   
> Well, for starters the buffer proxy object only borrows a reference to 
> its parent surface (no PY_INCREF/PY_DECREF calls).

Which should be absolutely okay, as surface.get_buffer() acquires a
lock.

Regards
Marcus

Attachment: pgpf1b0aZCH86.pgp
Description: PGP signature