Message154893
> 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:27 | sbt | set | recipients:
+ sbt, pitrou, alexandre.vassalotti |
2012-03-04 13:49:27 | sbt | set | messageid: <1330868967.44.0.0956939513309.issue14166@psf.upfronthosting.co.za> |
2012-03-04 13:49:26 | sbt | link | issue14166 messages |
2012-03-04 13:49:26 | sbt | create | |
|