From python-list Wed Jul 06 18:49:19 2005 From: Stian =?iso-8859-1?Q?S=F8iland?= Date: Wed, 06 Jul 2005 18:49:19 +0000 To: python-list Subject: Re: Use cases for del Message-Id: <20050706184919.GV12095 () itea ! ntnu ! no> X-MARC-Message: https://marc.info/?l=python-list&m=112067577410499 On 2005-07-06 18:10:16, Ron Adam wrote: > But what if assigning a name to None actually unbound it's name? > And accessing an undefined name returned None instead of a NameError? Yes, and we can make someunknownlist[] = 2 magically do someunknownlist = list() and append 2. Please. -- Stian Søiland Work toward win-win situation. Win-lose Trondheim, Norway is where you win and the other lose. http://soiland.no/ Lose-lose and lose-win are left as an exercise to the reader. [Limoncelli/Hogan] -- http://mail.python.org/mailman/listinfo/python-list