[issue34621] uuid.UUID objects can't be unpickled in older Python versions (<3.7)

Tal Einat report at bugs.python.org
Sun Aug 4 15:30:11 EDT 2019


Tal Einat <taleinat at gmail.com> added the comment:

Note that the original fix, in PR GH-9133, contained a bug: UUID objects with `is_safe` set to `SafeUUID.unknown` would cause an exception if unpickled with Python <3.7.

This was reported by Thomas Wiebe in a comment to a commit in that PR:
https://github.com/python/cpython/commit/d53f1cabe8837697df4acb70c9c6537461b5eeda#commitcomment-31396021

This is now fixed, see PR GH-14834.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34621>
_______________________________________


More information about the Python-bugs-list mailing list