[issue40600] Add option to disallow > 1 instance of an extension module
Terry J. Reedy
report at bugs.python.org
Fri May 15 21:10:16 EDT 2020
Terry J. Reedy <tjreedy at udel.edu> added the comment:
Title clarified. Leaving subinterpreters aside, only one instance, AFAIK, is true for stdlib and python modules unless imported with different names, as can happen with main module (which is a nuisance if not a bug). So only once per interpreter seems like a bugfix. Only once per process, if once per interpreter otherwise becomes normal, seems like an enhancement, even if a necessary option.
----------
nosy: +terry.reedy
stage: -> test needed
title: Add an option to disallow creating more than one instance of a module -> Add option to disallow > 1 instance of an extension module
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40600>
_______________________________________
More information about the Python-bugs-list
mailing list