Python handles globals badly.

tdev at freenet.de tdev at freenet.de
Wed Sep 2 15:32:33 EDT 2015


And to clarify:  I have not spoken about sharing constants global (spanning over modules), where the solution provided here using imports is the solution. I have spoken from module vars which are named or are "globals" and its read/write access constraints inside module functions.  So even the naming "globals" is something what I dislike, cause it is about module scope. With all other I can agree with Skybuck Flying too: "There is so far nothing else annoying!" (Maybe a missing switch statement).  Thanks.




More information about the Python-list mailing list