[New-bugs-announce] [issue13254] maildir.items() broken

marco ghidinelli report at bugs.python.org
Mon Oct 24 11:14:59 CEST 2011

New submission from marco ghidinelli <marcogh at gmail.com>:

since python 2.7.2 
maildir.items() doesn't return anything:

>>> from mailbox import Maildir
>>> x = Maildir('test')
>>> x.items()

untils something was written on the maildir.

>>> x.add('bubu')
>>> x.items()
[('1319447013.M913187P6096Q1.deeppurple', <rfc822.Message instance at 0x7f25f5b612d8>), ('1319447613.M259111P6097Q1.deeppurple', <rfc822.Message instance at 0x7f25f5b61680>)]

components: Library (Lib)
messages: 146283
nosy: marco.ghidinelli
priority: normal
severity: normal
status: open
title: maildir.items() broken
type: behavior
versions: Python 2.7, Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list