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 rhettinger
Recipients
Date 2007-02-07.20:17:22
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Added PyDict_CheckExact() in revisions 53655 and 53656.  A side-effect of this change is to slow-down updates with dict subclasses that are not overriding keys() and __getitem__().  This is especially unfortunate given good existing alternatives and given a lack of real use cases (dict subclasses that aspire to hand-off updates but not use their actual keys and mapped values).

Left out the gratuitous expansion of the API which exposed too much of the internal implementation and sought to introduce more implicit behaviors that would better be handled by explictly passing in an iterable of items to d.update().  For example.  d.update((k(x), g(x)) for x in myweirdmapping).
History
Date User Action Args
2007-08-23 15:55:43adminlinkissue1615701 messages
2007-08-23 15:55:43admincreate