thanks everyone for the replies!

John Hunter, yep, this is Johnny Lin in geosci :).

re using return:  the problem i have is somewhere in my code there's a
memory leak.  i realize return is supposed to unbind all the local
variables, but since the memory leak is happening despite return, i
thought it might help me track down the leak if i unbound everything
explicitly that i had defined in local scope before i returned.  or if
anyone has recomm. on plugging leaks, would be thankful for any
pointers there too.

my understanding about locals() from the nutshell book was that i
should treat that dictionary as read-only.  is it safe to use it to
delete entries?

thanks again!

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to