On Tue, 5 Aug 2008 17:00:37 +0200, "Arve Knudsen" <[EMAIL PROTECTED]> wrote: > On Tue, Aug 5, 2008 at 4:42 PM, Phil Thompson > <[EMAIL PROTECTED]> wrote: >> On Tue, 5 Aug 2008 16:15:49 +0200, "Arve Knudsen" > <[EMAIL PROTECTED]> >> wrote: >>> Is it problematic to copy QStandardItem? When I use copy.copy, >>> accessing the resulting object results in a RuntimeError with the >>> message 'underlying C/C++ object has been deleted'. >> >> QStandardItem has no pickle support and no __copy__ implementation. > > Is it possible to raise an error to indicate this, instead of the > current indirect error?
I'll add it to the TODO list to have default a __reduce__ implementation that just raises an exception. Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
