MaildirMessage

Tzury Afro.Systems at gmail.com
Fri Jul 13 12:38:01 CEST 2007


> Which is a bug in the 'email.message' module, in my view. If it's
> attempting to support a mapping protocol, it should allow iteration
> the same way standard Python mappings do: by iterating over the keys.

I thought it is a bug as well, but who am I a python newbie to say so.
I found inspect.getmembers(msg) as a good solution to map the message
properties.

10x,
Tzury




More information about the Python-list mailing list