Dict can't update with dict-like objects
Frank Niessink
frankn=nuws at cs.vu.nl
Thu Aug 24 03:12:25 EDT 2000
Guido van Rossum <guido at beopen.com> wrote:
> 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).
Could you please make another mental note (or expand the first one)
for eval()?
Thanks, Frank
--
"Ford!" he said, "there's an infinite number of monkeys outside who want to
talk to us about this script for Hamlet they've worked out."
-- Douglas Adams, 'The Hitch Hiker's Guide to the Galaxy'
More information about the Python-list
mailing list