Author pitrou
Recipients Arfrever, Robin.Schreiber, asvetlov, effbot, eli.bendersky, pitrou
Date 2013-08-07.14:00:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
> That's true, but I thought one of the goals of PEP 3121 is to
> separate
> states between sub-interpreters. So that one can't corrupt another.
> I'm not
> sure how much it matters in practice in this case of the pyexpat
> capsule;
> need to look into it more.

pyexpat's "capi" object is a static struct inside pyexpat.c, so that
wouldn't change anything.
Separating states between sub-interpreters only matters when said state
is mutable, which it isn't here.

> I don't see a call to PyState_AddModule. What am I missing?

It is called implicitly when an extension module is imported.
Date User Action Args
2013-08-07 14:00:07pitrousetrecipients: + pitrou, effbot, Arfrever, eli.bendersky, asvetlov, Robin.Schreiber
2013-08-07 14:00:07pitroulinkissue15651 messages
2013-08-07 14:00:07pitroucreate