Python handles globals badly.

tdev at tdev at
Wed Sep 2 21:32:33 CEST 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