[issue6349] email.Maildir cannot roundtrip messages.

2009-06-28 Thread R. David Murray
R. David Murray added the comment: Yep :) -- resolution: -> invalid stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue6349] email.Maildir cannot roundtrip messages.

2009-06-28 Thread David Bremner
David Bremner added the comment: that seems to fix my test script. Thanks. I guess the bug can be closed? -- ___ Python tracker ___ __

[issue6349] email.Maildir cannot roundtrip messages.

2009-06-28 Thread R. David Murray
R. David Murray added the comment: Did you specify 'factory=None', as instructed by the documentation? (The default is fixed in py3, by the way). -- ___ Python tracker ___ _

[issue6349] email.Maildir cannot roundtrip messages.

2009-06-27 Thread David Bremner
David Bremner added the comment: [ 61 pivot ~/config/scripts ] python test.py Traceback (most recent call last): File "test.py", line 11, in mailbox[key]=msg File "/usr/lib/python2.5/mailbox.py", line 293, in __setitem__ temp_key = self.add(message) File "/usr/lib/python2.5/mailbo

[issue6349] email.Maildir cannot roundtrip messages.

2009-06-27 Thread R. David Murray
R. David Murray added the comment: Please cut and paste the traceback. -- components: +Library (Lib) nosy: +r.david.murray priority: -> normal stage: -> test needed ___ Python tracker

[issue6349] email.Maildir cannot roundtrip messages.

2009-06-27 Thread David Bremner
New submission from David Bremner : if mailbox is an email.Maildir object the following lines cause an exception for me. for key in mailbox.keys(): msg=mailbox[key] mailbox[key]=msg I attach the whole script. I'm happy to send a tar file of the maildir I used to test with. --