Message83544
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. |
|
Date |
User |
Action |
Args |
2009-03-13 23:30:39 | mwm | set | recipients:
+ mwm, ggenellina |
2009-03-13 23:30:39 | mwm | set | messageid: <1236987039.25.0.103026685456.issue5370@psf.upfronthosting.co.za> |
2009-03-13 23:30:34 | mwm | link | issue5370 messages |
2009-03-13 23:30:34 | mwm | create | |
|