PSchaafsma added the comment:
There are indeed many easy workarounds, and we definitely don't want to
introduce any incompatibilities.
I guess the best thing to do is just update the documentation, right?
--
___
Python tracker
New submission from PSchaafsma:
The documentation of persistent_id prescribes that returning None will cause
default pickling behavior. This makes sense.
However, in the Pickler.save function in pickle.py, the return value of
persistent_id checked as boolean, causing also return values like 0