On Sat, 01 Nov 2008 17:29:59 +0000 Phil Thompson <[EMAIL PROTECTED]> wrote:
> There will be new releases of PyQt, SIP and QScintilla in the next > few days based on current snapshots. > > Let me know if there is anything you are expecting that doesn't seem > to be there. > > Phil The QImage constructor steals a reference to the uchar *data argument instead of increasing the reference count of the input string (tested) or buffer object (untested, but looked into siplib.c). It is the (not very well documented) responsibility of the Python programmer to keep a reference to that argument for the lifetime of the QImage instance to prevent the use of invalid image data. Bug or quirk? Regards -- Gerard _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
