[issue43090] parseaddr (from email.utils) returns invalid input string instead of ('', '')

2021-02-01 Thread R. David Murray
R. David Murray added the comment: The return value is correct. Interpreted as an email address, 'randomstring' is a local mailbox. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue43090] parseaddr (from email.utils) returns invalid input string instead of ('', '')

2021-02-01 Thread Livio Bencik
New submission from Livio Bencik : ``` from email.utils import parseaddr parseaddr('randomstring') ``` returns ('', 'randomstring'), instead of ('', '') as the documentation says. -- components: email messages: 386062 nosy: barry, lbenc135, r.david.murray priority: normal severity: