Alexander Belopolsky <alexander.belopol...@gmail.com> added the comment:
I am sure this has been reported before – I will try to find the relevant issue. This behavior is correct and documented. The only improvement that we can consider is to make it more explicit that utcnow is deprecated and the correct way to obtain the UTC timestamp is datetime.now(timezone.utc).timestamp() ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39970> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com