cpython/Lib/test/test_email
Miss Islington (bot) e21aa61e96
bpo-38698: Prevent UnboundLocalError to pop up in parse_message_id (GH-17277)
parse_message_id() was improperly using a token defined inside an exception
handler, which was raising `UnboundLocalError` on parsing an invalid value.

https://bugs.python.org/issue38698
(cherry picked from commit bb815499af)

Co-authored-by: Claudiu Popa <pcmanticore@gmail.com>
2019-12-05 09:42:01 -08:00
..
data
__init__.py
__main__.py
test__encoded_words.py bpo-38332: Catch KeyError from unknown cte in encoded-word. (GH-16503) 2019-10-12 10:03:24 -07:00
test__header_value_parser.py bpo-38698: Prevent UnboundLocalError to pop up in parse_message_id (GH-17277) 2019-12-05 09:42:01 -08:00
test_asian_codecs.py
test_contentmanager.py
test_defect_handling.py
test_email.py [3.8] bpo-37764: Fix infinite loop when parsing unstructured email headers. (GH-15239) (GH-15686) 2019-09-04 18:20:40 -07:00
test_generator.py
test_headerregistry.py [3.8] bpo-21315: Fix parsing of encoded words with missing leading ws (GH-13425) (GH-15655) 2019-09-03 10:08:39 -07:00
test_inversion.py
test_message.py [3.8] bpo-33972: Fix EmailMessage.iter_attachments raising AttributeError (GH-14119) (GH-14380) 2019-06-25 11:38:48 -07:00
test_parser.py
test_pickleable.py
test_policy.py Fix infinite loop in email folding logic (GH-12732) 2019-07-16 11:08:36 -07:00
test_utils.py
torture_test.py