[issue16231] pickle persistent_id return value

Amaury Forgeot d'Arc report at bugs.python.org
Mon Oct 15 16:36:40 CEST 2012


Amaury Forgeot d'Arc added the comment:

An easy workaround (and probably the preferred method) it to return a (tag, index) tuple, like the example in http://docs.python.org/release/3.2/library/pickle.html#pickle-persistent

Testing for the None value introduces a slight incompatibility, so IMO it could only be changed for 3.4.

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16231>
_______________________________________


More information about the Python-bugs-list mailing list