• Guido van Rossum's avatar
    Barry Scott writes: · b1844870
    Guido van Rossum yazdı
    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')]
    b1844870
rfc822.py 30.7 KB