New submission from Eric Snow <ericsnowcurren...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue38141>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to