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 doerwalter
Recipients
Date 2006-12-14.13:08:32
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This patch changes dictobject.c so that creating dicts from mapping like objects only uses the internal dict functions if the argument is a *real* dict, not a subclass. This means that overwritten keys() and __getitem__() methods are now honored. In addition to that the fallback implementation now tries iterkeys() before trying keys(). It also adds a PyMapping_IterKeys() macro.
History
Date User Action Args
2007-08-23 15:55:43adminlinkissue1615701 messages
2007-08-23 15:55:43admincreate