[issue38141] Use less statics in Argument Clinic.

Eric Snow report at bugs.python.org
Thu Sep 12 10:59:42 EDT 2019


New submission from Eric Snow <ericsnowcurrently at gmail.com>:

(This is a sub-task of bpo-36876, "Global C variables are a problem.".)

Currently Argument Clinic generates "_PyArg_Parser _parser" as a static variable.  Dropping "static" solves the problem of thread safety (e.g. for subinterpreters not sharing the GIL).

----------
assignee: eric.snow
components: Argument Clinic
messages: 352193
nosy: eric.snow, larry
priority: normal
severity: normal
stage: needs patch
status: open
title: Use less statics in Argument Clinic.
versions: Python 3.9

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


More information about the Python-bugs-list mailing list