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 sbt
Recipients alexandre.vassalotti, pitrou, sbt
Date 2012-03-04.13:49:26
SpamBayes Score 1.3762749e-05
Marked as misclassified No
Message-id <>
> 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.
Date User Action Args
2012-03-04 13:49:27sbtsetrecipients: + sbt, pitrou, alexandre.vassalotti
2012-03-04 13:49:27sbtsetmessageid: <>
2012-03-04 13:49:26sbtlinkissue14166 messages
2012-03-04 13:49:26sbtcreate