p666 wrote:
>
>under python 2.5 mac os X
>the following code
>
>import email
>a = email.Message()
>
>
>raises the following exception
>
>
>TypeError: 'LazyImporter' object is not callable


And under prior email versions it would have raised the exception

TypeError: 'module' object is not callable

You want

a = email.Message.Message()

or per the new PEP 8 conformant naming

a = email.message.Message()

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Email-SIG mailing list
[email protected]
Your options: 
http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com

Reply via email to