This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asksol
Recipients asksol, jjconti, jnoller
Date 2010-09-09.08:24:46
SpamBayes Score 0.0058619264
Marked as misclassified No
Message-id <1284020688.18.0.0720350704791.issue9733@psf.upfronthosting.co.za>
In-reply-to
Content
> I expected I could iterate over a DictProxy as I do over a
> regular dict.

DictProxy doesn't support iterkeys(), itervalues(), or iteritems() either.
So while

    iter(d)

could do
     iter(d.keys())

behind the scenes, it would mask the fact that this would not return
an *iterator* over the keys, but send a potentially long list of keys back to the client.
History
Date User Action Args
2010-09-09 08:24:48asksolsetrecipients: + asksol, jjconti, jnoller
2010-09-09 08:24:48asksolsetmessageid: <1284020688.18.0.0720350704791.issue9733@psf.upfronthosting.co.za>
2010-09-09 08:24:46asksollinkissue9733 messages
2010-09-09 08:24:46asksolcreate