Closed zware closed 1 month ago
/usr/bin/python3 is still 3.10 in some widely-used distros and the support requirement is not onerous, needing only to use a longer-lived alias for the same object (assert datetime.UTC is datetime.timezone.utc holds where both exist).
/usr/bin/python3
assert datetime.UTC is datetime.timezone.utc
See also #1097, #1107.
📚 Documentation preview 📚: https://cpython-devguide--1436.org.readthedocs.build/
/usr/bin/python3
is still 3.10 in some widely-used distros and the support requirement is not onerous, needing only to use a longer-lived alias for the same object (assert datetime.UTC is datetime.timezone.utc
holds where both exist).See also #1097, #1107.
📚 Documentation preview 📚: https://cpython-devguide--1436.org.readthedocs.build/