I am trying to understand how datetime objects behave in python
>>> import pytz
>>> from datetime import datetime
>>> now = datetime.now()
>>> now
datetime.datetime(2022, 10, 11, 22, 9, 14, 169110)
>>> now.tzinfo
# even though there is no tzinfo, when converted to utc, it shows 20:09
>>> now.astimezone(pytz.utc)
datetime.datetime(2022, 10, 11, 20, 9, 14, 169110, tzinfo=<UTC>)
>>> pytz.utc.localize(now)
datetime.datetime(2022, 10, 11, 22, 9, 14, 169110, tzinfo=<UTC>)
I am trying to understand the reason of the change in the time with line now.astimezone(pytz.utc)
since the datetime object was naive in the first place.