Message402141
For reference, here's a repro case:
$ python3.10 -c 'import email.utils; \
email.utils.parsedate_tz("Wed, 3 Apr 2002 12.34.56.78+0800")'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.10/email/_parseaddr.py", line 50, in parsedate_tz
res = _parsedate_tz(data)
File "/usr/local/lib/python3.10/email/_parseaddr.py", line 134, in _parsedate_tz
thh = int(thh)
UnboundLocalError: local variable 'thh' referenced before assignment |
|
Date |
User |
Action |
Args |
2021-09-18 22:44:33 | benhoyt | set | recipients:
+ benhoyt, barry |
2021-09-18 22:44:33 | benhoyt | set | messageid: <1632005073.46.0.220950731343.issue45239@roundup.psfhosted.org> |
2021-09-18 22:44:33 | benhoyt | link | issue45239 messages |
2021-09-18 22:44:33 | benhoyt | create | |
|