'reload M' doesn't update 'from M inport *'

Aahz aahz at pythoncraft.com
Fri Jul 9 16:34:54 EDT 2010


In article <mailman.488.1278697107.1673.python-list at python.org>,
Jean-Michel Pichavant  <jeanmichel at sequans.com> wrote:
>
>PS : You're misusing the del statement. It does not remove any object 
>from mmory, however, it removes the reference to it, the object is still 
>in memory. They are very few cases where del is usefull in python, so 
>try to avoid using it as well.

The first two sentences are true; the last sentence is completely wrong.
I've got lots of code using del, and it's a critically useful element of
dictionary manipulation.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"....Normal is what cuts off your sixth finger and your tail..."  --Siobhan



More information about the Python-list mailing list