See how Python3 shows the timezone as -07:53
~/dev> python3
Python 3.7.3 (default, Jun 2 2020, 19:48:59)
[Clang 11.0.3 (clang-1103.0.32.62)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime, pytz
>>> '%s'%datetime.datetime(2021, 9, 3, 12, 0, 0, 0, pytz.timezone('US/Pacific'))
'2021-09-03 12:00:00-07:53'
>>>
While in Python2 the timezone is -08:00
~/dev> python2
WARNING: Python 2.7 is not recommended.
This version is included in macOS for compatibility with legacy software.
Future versions of macOS will not include Python 2.7.
Instead, it is recommended that you transition to using 'python3' from within Terminal.
Python 2.7.16 (default, Jun 18 2021, 03:23:53)
[GCC Apple LLVM 12.0.5 (clang-1205.0.19.59.6) [+internal-os, ptrauth-isa=deploy on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime, pytz
>>> '%s'%datetime.datetime(2021, 9, 3, 12, 0, 0, 0, pytz.timezone('US/Pacific'))
'2021-09-03 12:00:00-08:00'
>>>
What's going on? Which is right? I know Pacific time can be -8 or -7 but I never heard of these 53 minutes.