Message211939
Actually it should be iteritems(). This is meant to support Mailbox, which has both iteritems() and items() methods. iteritems() returns an iterator and items() returns a list. Looks as changeset f340cb045bf9 was incorrectly applied to mailbox. Here is a patch which partially reverts changeset f340cb045bf9 for the mailbox module and fixes tests in 3.x.
Perhaps we should change items() to return an iterator in Python 4.0. |
|
Date |
User |
Action |
Args |
2014-02-22 19:05:45 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, barry, r.david.murray, petri.lehtinen, Rosuav |
2014-02-22 19:05:45 | serhiy.storchaka | set | messageid: <1393095945.51.0.318171342647.issue20729@psf.upfronthosting.co.za> |
2014-02-22 19:05:45 | serhiy.storchaka | link | issue20729 messages |
2014-02-22 19:05:45 | serhiy.storchaka | create | |
|