enhancing dictionary update method and the dict type constructor

Alexis Layton alexis.layton at post.harvard.edu
Sun Nov 18 04:45:59 CET 2001

Ah yes, bitten by the fact that characters are not first class
Python objects again.... :-)


Tim Peters wrote:

> Since d.update(pairs) is dead on arrival, enhancements to it probably don't
> stand a better chance <wink>.  I especially squirm at this one, since, e.g.,
> it would mean that
>     d.update("oops")
> deletes the keys "o", "p" and "s" from d ("oops" is a sequence of
> 1-sequences), and that's way too obscure.

More information about the Python-list mailing list