R. David Murray added the comment:

Yeah, it never occurred to me that the local part could be empty, so I never 
made a test case for that.  The correct behavior should indeed to be to 
register a defect and set the local part to blank.  I will not be surprised if 
there are other bits of the code (on the output side) that expect local part to 
be non-blank, so there may be some additional test cases and fixes needed.

----------
title: get_addresses results in traceback with a valid? header -> get_addresses 
results in traceback with an addrspec with an empty local part.

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27257>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to