Bug in email package?
Erik Max Francis
max at alcyone.com
Sun Feb 20 20:03:22 EST 2005
Roman Suzi wrote:
> I think that if any object (from standard library at least) doesn't support
> iteration, it should clearly state so.
>
> My guess is that 'for' causes the use of 'm[0]', which is (rightfully) an
> error...
>
> Can this behaviour of email be considered a bug?
> Is there a good case to iterate over something useful in a message
Why would it be a bug if the documentation never stated that the object
was iterable?
--
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
Wyrd has swept all my kin / all the brave chiefs away! / Now I must
follow them! -- Beowulf
More information about the Python-list
mailing list