If you want the user to be able to (re)define them in config.py, why not just define them there in the first place? I may be wrong, but I think "global" means "module level" rather than "interpreter level".