Tim Peters wrote:
You haven't seen this fail, you're _deducing_ that it "must" fail, right?


Deducing indeed...

Don't overlook this other Length method:

    def __getstate__(self):
        return self.value

That is, when a Length instance is asked for its state, it returns an
integer.  Similarly setting its state expects an integer:

    def __setstate__(self, v):
        self.value = v

Dang. I knew I was missing something here. Thanks for putting me straight, Tim.

Martijn, who has managed to extract himself from conflict resolution code today.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to