Author sbt
Recipients alexandre.vassalotti, pitrou, sbt
Date 2012-03-04.13:49:26
SpamBayes Score 1.37627e-05
Marked as misclassified No
Message-id <1330868967.44.0.0956939513309.issue14166@psf.upfronthosting.co.za>
In-reply-to
Content
> I don't understand the following code:
> ... 
> since self.dispatch_table is a property returning
> self._dispatch_table. Did you mean type(self).dispatch_table?

More or less.  That code was a botched attempt to match the behaviour of the C implementation.

The C implementation does not expose the dispatch table unless it has been explicitly set (on the pickler or the pickler class), and it ignores any "dispatch_table" (or "persistent_id") attribute on the metaclass.

I will do a fixed patch with docs.
History
Date User Action Args
2012-03-04 13:49:27sbtsetrecipients: + sbt, pitrou, alexandre.vassalotti
2012-03-04 13:49:27sbtsetmessageid: <1330868967.44.0.0956939513309.issue14166@psf.upfronthosting.co.za>
2012-03-04 13:49:26sbtlinkissue14166 messages
2012-03-04 13:49:26sbtcreate