This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petr.viktorin
Recipients corona10, eric.snow, koubaa, petr.viktorin, shihai1991, terry.reedy, vstinner
Date 2020-12-15.14:07:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608041253.03.0.298973396429.issue40600@roundup.psfhosted.org>
In-reply-to
Content
Thanks! Indeed, that's an even better solution than I had in mind.
It follows PEP 630 quite nicely: https://www.python.org/dev/peps/pep-0630/#managing-global-state

I will close this issue and PRs.
I don't agree with adding a general API for disallowing multiple modules, but do let me know if you see a need for it again.
History
Date User Action Args
2020-12-15 14:07:33petr.viktorinsetrecipients: + petr.viktorin, terry.reedy, vstinner, eric.snow, corona10, shihai1991, koubaa
2020-12-15 14:07:33petr.viktorinsetmessageid: <1608041253.03.0.298973396429.issue40600@roundup.psfhosted.org>
2020-12-15 14:07:33petr.viktorinlinkissue40600 messages
2020-12-15 14:07:32petr.viktorincreate