Message211939
| Author |
serhiy.storchaka |
| Recipients |
Rosuav, barry, petri.lehtinen, r.david.murray, serhiy.storchaka |
| Date |
2014-02-22.19:05:44 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1393095945.51.0.318171342647.issue20729@psf.upfronthosting.co.za> |
| In-reply-to |
|
| Content |
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. |
|