I'd use a class or simple import a 5-line module if I wanted a namespace like that. Seems like clearner solutions to me.
If you feel that your module namespace has to much content for a simple namespace, putting it in a seperate module should be the way to go anyway. _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/