This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mwm
Recipients ggenellina, mwm
Date 2009-03-13.23:30:34
SpamBayes Score 0.00012006295
Marked as misclassified No
Message-id <1236987039.25.0.103026685456.issue5370@psf.upfronthosting.co.za>
In-reply-to
Content
True. But hat's why it was a QAD hack - all I did was make sure it didn't blow up on the 
test code, and that it passed the provided unit tests.

It really needs to walk the class tree. So something like  hasattr(inst.__class__, 
'__setstate__') is more likely to be correct.

And yes, the pickle unit tests apparently don't test the __*state__ routines, but that's a 
different bug.
History
Date User Action Args
2009-03-13 23:30:39mwmsetrecipients: + mwm, ggenellina
2009-03-13 23:30:39mwmsetmessageid: <1236987039.25.0.103026685456.issue5370@psf.upfronthosting.co.za>
2009-03-13 23:30:34mwmlinkissue5370 messages
2009-03-13 23:30:34mwmcreate