Bugs item #1600152, was opened at 2006-11-20 22:33 Message generated for change (Settings changed) made by akuchling You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1600152&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: Python 2.5 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Tetsuya Takatsuru (taka2ru) >Assigned to: A.M. Kuchling (akuchling) Summary: mailbox: Maildir.get_folder does not inherit factory Initial Comment: mailbox.Maildir.get_folder does not inherit _factory. >>> import mailbox >>> >>> mbox = mailbox.Maildir('/home/xxx/Maildir', mailbox.MaildirMessage) >>> >>> subfolder = mbox.get_folder(mbox.list_folders()[0]) >>> >>> for key, mail in subfolder.iteritems(): >>> print mail.__class__ >>> break from this example, i got the following output: rfc822.Message 'mailbox.MaildirMessage' should be gotten instead. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1600152&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com