[New-bugs-announce] [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>

More information about the New-bugs-announce mailing list