[issue9051] Improve pickle format for timezone aware datetime instances

Serhiy Storchaka report at bugs.python.org
Sun Sep 27 05:12:50 CEST 2015


Serhiy Storchaka added the comment:

For now "_utc" is not a part of API. When use it in pickling, you implicitly make it a part of API, and should support it forever (and force other Python implementations to support it). As far as it looks as implementation detail, there is a risk that the "_utc" variable can be renamed and this will break pickle compatibility.

----------

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


More information about the Python-bugs-list mailing list