> Python has one feature that I really hate: There are certain special > names like 'file' and 'dict' with a predefined meaning. Yet, it is > allowed to redefine these special names as in > > dict = [1:'bla']
dir(__builtins__) Yes, rebinding builtin names accidentally is an annoying and I think everyone has made that mistake at least once. Maybe PyChecker can issue a warning? -- mvh Björn -- http://mail.python.org/mailman/listinfo/python-list