Re: Bug in email.utils, parseaddr

2008-05-08 Thread Gabriel Genellina
En Fri, 09 May 2008 02:55:46 -0300, Roopesh <[EMAIL PROTECTED]> escribió: I tried using parseaddr of email.utils, but it gave the following result when the name had a comma inside. e = 'K,Vishal <[EMAIL PROTECTED]>' from email.utils import parseaddr parseaddr(e) ('', 'K') That's an invali

Bug in email.utils, parseaddr

2008-05-08 Thread Roopesh
Hi, I tried using parseaddr of email.utils, but it gave the following result when the name had a comma inside. >>> e = 'K,Vishal <[EMAIL PROTECTED]>' >>> from email.utils import parseaddr >>> parseaddr(e) ('', 'K') Thanks and Regards, Roopesh -- http://mail.python.org/mailman/listinfo/python-lis