clobbering
Angus MacKay
Angus.MacKay at p98.f112.n480.z2.fidonet.org
Tue Jun 29 01:57:39 EDT 1999
From: Angus MacKay <amackay at starvision.com>
is there any way to get python to warn you when you clobber
a function refrence with a variable?
I was writing this and it vexed me for some time:
for dir in sys.path:
dir(...)
...
it is silly user error but a flag to say warn if clobbering functions
with variables (or at lease builtin functions).
cheers, Angus.
More information about the Python-list
mailing list