Dict can't update with dict-like objects

Alex Martelli alex at magenta.com
Thu Aug 24 04:23:50 EDT 2000


"Guido van Rossum" <guido at beopen.com> wrote in message
news:cpog2jryv8.fsf at cj20424-a.reston1.va.home.com...
    [snip]
> It is my intention to *eventually* remove all such restrictions.  This
> goes slowly because it has to be done one operation at a time.
> E.g. somewhere aling 1.5.x, (a,b,c) = [1,2,3] became legal.  In 2.0,
> [].extend(UserList()) will be legal.  I'll make a mental note that
> {}.update() needs to be expanded too.  A separate method name is quite
> unnecessary (the update() function can simply branch on the argument
> type).

Excellent game-plan!  Might we humbly request an *explicit* list of
"such restrictions" that are currently known to exist but intended
to be eventually removed...?  Mental notes are OK, but an explicit
todo-list will help in several ways, I think.


Alex






More information about the Python-list mailing list