[New-bugs-announce] [issue38232] empty local-part in addr_spec displayed incorrectly

Andrei Troie report at bugs.python.org
Fri Sep 20 10:34:10 EDT 2019

New submission from Andrei Troie <andrei.troie at bbc.co.uk>:

Given an (RFC-legal) email address with the local part consisting of a quoted empty string (e.g. 'Nobody <""@example.org>'), when I call the 'addr_spec' property, the result no longer includes the quoted empty string (so, in this case, addr_spec would return '@example.org').

components: email
files: example_parser.py
messages: 352852
nosy: andreitroiebbc, barry, r.david.murray
priority: normal
severity: normal
status: open
title: empty local-part in addr_spec displayed incorrectly
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8
Added file: https://bugs.python.org/file48617/example_parser.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list