Message154893
| 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 |
<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: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 |
|