[issue38141] Use fewer statics in Argument Clinic.

Eric Snow report at bugs.python.org
Fri Sep 13 08:36:01 EDT 2019


Eric Snow <ericsnowcurrently at gmail.com> added the comment:

That might work. :)

There are two key problems under subinterpreters that do not share the GIL:

* races on refcount operations
* cache thrashing due to refcount operations (under multi-core threads)

A lock would certainly mitigate the first problem.  I'm not sure how much the second would actually be a problem.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38141>
_______________________________________


More information about the Python-bugs-list mailing list