sbt <shibt...@gmail.com> added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14166>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to