Serhiy Storchaka added the comment: For stability it is better to use public name 'timezone.utc' instead of '_utc'. Dotted names now are supported with all protocols.
> but there is still room for improvement: Don't worry about this. When you pickle a number of datetime objects with the same timezone, the timezone is pickled only once and for all other datetime objects only a reference is used. ---------- nosy: +serhiy.storchaka type: behavior -> enhancement versions: +Python 3.6 -Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9051> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com