[issue15651] PEP 3121, 384 refactoring applied to elementtree module

Antoine Pitrou report at bugs.python.org
Wed Aug 7 15:28:36 CEST 2013


Antoine Pitrou added the comment:

> First, I think it omits expat_capi from the state. Is that
> intentional?

What would it do in the state? There's nothing to release.

> Second, I'm not sure if this approach is fully aligned with PEP 3121.
> A global, shared state is still used. Instead of actually having a
> different module state per subinterpreter, this patch will have
> shared state.

I don't understand what you are talking about. Perhaps you haven't looked
what PyState_FindModule() does?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15651>
_______________________________________


More information about the Python-bugs-list mailing list