Serhiy Storchaka added the comment:

The phrase "*function* should return either a string or a tuple containing two 
or three elements." de-facto is outdated too. Since Python 2.3 a tuple returned 
by the function must have two to five elements.

copyreg.constructor() no longer does anything useful, and the constructor 
parameter of copyreg.pickle() is virtually ignored.

----------
nosy: +serhiy.storchaka
stage:  -> patch review
type:  -> behavior
versions: +Python 3.5, Python 3.6, Python 3.7 -Python 3.3

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

Reply via email to