Bug report
from email.headerregistry import Address
a = Address("Jane Doe", addr_spec="jane_doe@example.org.")
[…]
HeaderParseError: expected atext but found ''
The issue is the trailing dot, which is arguably not great, but it's very valid actually, and the email address provided is the same as the email address without a dot.
Your environment
- CPython versions tested on: 3.11.1-1 on Debian unstable
- Operating system and architecture: Debian unstable, amd64
Linked PRs
Bug report
The issue is the trailing dot, which is arguably not great, but it's very valid actually, and the email address provided is the same as the email address without a dot.
Your environment
Linked PRs