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 2004-02-29.21:12:39
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=80475

Guido, after some discussion on comp.lang.python, I would
like to re-open this one.

I'm +1 on an alternate patch with a simpler approach that
defines dict.update to be the same as dict.__init__().

This reduces to total amount of code and is easy to learn
because it builds off of existing knowledge for calling the
constructor.

In terms of functionality, it is more readable, faster, and
more memory efficient than explicity constructing an
intermediate dictionary for the update.  Also, as Bob points
out, it works nicely with genexps.

If approved, please assign back to me for the revised
implementation, unittests, and doc updates.
History
Date User Action Args
2007-08-23 15:32:28adminlinkissue904720 messages
2007-08-23 15:32:28admincreate