https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108212
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:80ff207da6d8784e227eb93f75c4ac5a300c8420 commit r13-5034-g80ff207da6d8784e227eb93f75c4ac5a300c8420 Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Jan 5 13:41:21 2023 +0000 libstdc++: Fix <chrono> printers for Python 2 [PR108212] The datetime.timezone.utc singleton doesn't exist in Python 2, but we can create it ourselves by deriving from datetime.tzinfo. libstdc++-v3/ChangeLog: PR libstdc++/108212 * python/libstdcxx/v6/printers.py (_utc_timezone): New global variable. (StdChronoTimePointPrinter::to_string): Use it.