[New-bugs-announce] [issue2625] mailbox.MH.get_message() treats result of get_sequences() as list of tuples

Christer Sjöholm report at bugs.python.org
Sat Apr 12 19:58:51 CEST 2008


New submission from Christer Sjöholm <hcs at furuvik.net>:

in mailbox.MH.get_message() there is a loop over the mailbox sequences
on row 894 in Python 2.5.2
  for name, key_list in self.get_sequences():
but mailbox.MH.get_sequences() returns a dict so it should be
  for name, key_list in self.get_sequences().iteritems():

----------
components: Library (Lib)
messages: 65408
nosy: hcs
severity: normal
status: open
title: mailbox.MH.get_message() treats result of get_sequences() as list of tuples
type: behavior
versions: Python 2.5, Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2625>
__________________________________


More information about the New-bugs-announce mailing list