list of all type names
BJörn Lindqvist
bjourne at gmail.com
Tue Mar 1 07:56:41 EST 2005
> 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
More information about the Python-list
mailing list