Antoine Pitrou added the comment: See issue18710 for an API proposal which may help in some cases.
Also, see https://mail.python.org/pipermail/python-dev/2013-August/127862.html for an involved discussion of issues with the current "module state" scheme. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20037> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com