[capi-sig] What can I do without GIL?

Nikolaus Rath Nikolaus at rath.org
Mon Oct 18 04:02:45 CEST 2010


I a thread does not hold the GIL, is it totally forbidden to call any
Py* API functions at all, or are there some exceptions?

More concretely, am I allowed to create fresh Python objects with
PyBytes_FromString et. al. without holding the GIL?



 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C

More information about the capi-sig mailing list