deleting a parameter's name as it is passed to a function

Amir Michail amichail at
Sat Oct 15 02:40:48 CEST 2005


I think it would be useful to delete a name of a parameter object as
the object is passed to a function:

dosomestuff(del a)

instead of

del a

The idea is to garbage collect the object as soon as possible, and this
may be sooner than when dosomestuff returns.


More information about the Python-list mailing list