commit | b18448705501a5962ebd3946033fdc4b03cdf58a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Jun 15 18:06:20 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Jun 15 18:06:20 1999 +0000 |
tree | a8606eaf112f23c990b8dfb1faad29739343b047 | |
parent | 1e4402998f663d9d3df8239633aa97f0b02df9b5 [diff] |
Barry Scott writes: Problem: rfc822.py in 1.5.2 final loses the quotes around quoted local-part names. The fix is to preserve the quotes around a local-part name in an address. Test: import rfc822 a = rfc822.AddrlistClass('(Comment stuff) "Quoted name"@somewhere.com') a.getaddrlist() The correct result is: [('Comment stuff', '"Quoted name"@somewhere.com')]