[issue2294] Bug in Pickle protocol involving __setstate__

2008-03-15 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Closing as invalid. -- nosy: +georg.brandl resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue2294] Bug in Pickle protocol involving __setstate__

2008-03-15 Thread Tim Gordon
Tim Gordon <[EMAIL PROTECTED]> added the comment: You've missed off the two underscores after the name __setstate__ :p -- nosy: +QuantumTim __ Tracker <[EMAIL PROTECTED]> __ __

[issue2294] Bug in Pickle protocol involving __setstate__

2008-03-15 Thread Greg Kochanski
New submission from Greg Kochanski <[EMAIL PROTECTED]>: If we have a hierarchy of classes, and we use __getstate__/__setstate__, the wrong class' __setstate__ gets called. Possibly, this is a documentation problem, but here goes: Take two classes, A and B, where B is the child of A. Construct