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

Re: [pygame] no unlock: surfarray.pixels2d() and PixelArray() bug or intented?



Marcus von Appen wrote:
I think, the reference counting is somewhat better than a close
operation which causes references you explicitly keep somewhere to
misbehave.

I'm not saying that reference counting shouldn't be
used, just that there should be an explicit way that
you can use if you want to.

Like the way that files have a close() method as
well as being closed automatically when no longer
referenced.

--
Greg