[Python-ideas] Removing the del statement

BJörn Lindqvist bjourne at gmail.com
Fri Sep 28 12:13:10 CEST 2007

On 9/28/07, George Sakkis <george.sakkis at gmail.com> wrote:
> I wonder if this was considered and rejected in the Py3K discussions; PEP
> 3099 doesn't mention anything about it.

Yes. del (and especially __del___) has been discussed on and off on
the python-3000 list.


I have used "del x" a few times to shorten the list of exported names
in modules which helps epydoc. Never found any use for del x[i] or del
x.a though.

mvh Björn

More information about the Python-ideas mailing list