Determine calling module's name

Rainer Deyke root at rainerdeyke.com
Thu Aug 10 23:55:46 EDT 2000


"Roland Mas" <mas at echo.fr> wrote in message
news:87n1ikbhl0.fsf at cachemir.echo-net.net...
> David Goodger (2000-08-10 22:49:20 -0400) :
> > Um. Assigning to None. Bad idea. Side effects. Ouch! Please be careful!
>
> Really?  What kind of side effects could that have?  I'm particularly
> looking for a menory leak somewhere, so I'm really interested.  I
> fixed the bug in my code, but I won't be able to test it before
> several hours, and anyway I'm interested.

The obvious: the value of None can change.  No memory leaks or similar.


--
Rainer Deyke (root at rainerdeyke.com)
Shareware action/role-playing games      -      http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor





More information about the Python-list mailing list