[issue42070] I think the rationale to keep IsoCalendarDate private from the pickle perspective should get revisited

Msimpasona report at bugs.python.org
Sun Oct 18 14:44:55 EDT 2020


New submission from Msimpasona <msimpasona at gmail.com>:

IsoCalendarDate is pickled as a regular tuple and so requires a slightly different code flow in case the pickle file is used as cache. More details here: https://stackoverflow.com/questions/64408303/python-3-9-unpickling-of-isocalendardate-data-returns-a-tuple

My question is what's the benefit of hiding the new class IsoCalendarDate?

----------
components: Library (Lib)
messages: 378884
nosy: msimpasona
priority: normal
severity: normal
status: open
title: I think the rationale to keep IsoCalendarDate private from the pickle perspective should get revisited
type: behavior
versions: Python 3.9

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


More information about the Python-bugs-list mailing list