diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-12-05 17:42:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-05 17:42:01 (GMT) |
commit | e21aa61e96f8343200e765d119ebe778873a6bf1 (patch) | |
tree | b5349053ac33a268b72c02e802bf5d9032e93fda /Mac | |
parent | cfdaf92221da3c264d0da9c588994fefe4073196 (diff) | |
download | cpython-e21aa61e96f8343200e765d119ebe778873a6bf1.zip cpython-e21aa61e96f8343200e765d119ebe778873a6bf1.tar.gz cpython-e21aa61e96f8343200e765d119ebe778873a6bf1.tar.bz2 |
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 bb815499af855b1759c02535f8d7a9d0358e74e8)
Co-authored-by: Claudiu Popa <pcmanticore@gmail.com>
Diffstat (limited to 'Mac')
0 files changed, 0 insertions, 0 deletions