Angus MacKay Angus.MacKay at
Tue Jun 29 01:57:39 EDT 1999

From: Angus MacKay <amackay at>

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:

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