[Python-Dev] Assignment to None

Guido van Rossum guido at python.org
Thu Jun 12 19:28:18 CEST 2008


On Thu, Jun 12, 2008 at 10:13 AM, Leif Walsh <adlaiff6 at gmail.com> wrote:
> I haven't been following this thread very closely, so I'm not sure
> what the status is, but I'd just like to point out that yesterday I
> used the fact that a[None] = b works, when I used the @memoize
> decorator from the wiki.  This seems to provide an argument that, for
> symmetry's sake, we might want to keep a.None = b as well.

That makes about as much sense as wanting to support a.42 = b since
a[42] = b works. :-)

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list