[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2022-04-07 Thread Kumar Aditya
Kumar Aditya added the comment: Most of the static variables were removed by GH-31366 so I closed those PRs as they were outdated, however some static variable still exist. -- nosy: +kumaraditya ___ Python tracker

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-11-10 Thread STINNER Victor
STINNER Victor added the comment: So far, no PEP has been written. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-11-10 Thread Hai Shi
Change by Hai Shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-11-09 Thread junyixie
junyixie added the comment: About PEP How is the progress? Where can I track it? Is there any relevant plan? thanks -- ___ Python tracker ___

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
Change by junyixie : -- pull_requests: +23739 pull_request: https://github.com/python/cpython/pull/24972 ___ Python tracker ___ ___

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
Change by junyixie : -- pull_requests: +23738 pull_request: https://github.com/python/cpython/pull/24971 ___ Python tracker ___ ___

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread STINNER Victor
STINNER Victor added the comment: Until the PEP is accepted, you can start working on a branch if you want. You can post the link to your branch. -- ___ Python tracker ___

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread Dong-hee Na
Dong-hee Na added the comment: @JunyiXie Please wait your patch until the PEP is approved. -- nosy: +corona10 ___ Python tracker ___

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
junyixie added the comment: I will fix the static variable problem of frequently used code -- ___ Python tracker ___ ___

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
Change by junyixie : -- pull_requests: +23729 pull_request: https://github.com/python/cpython/pull/24970 ___ Python tracker ___ ___

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
Change by junyixie : -- pull_requests: +23728 pull_request: https://github.com/python/cpython/pull/24969 ___ Python tracker ___ ___

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
junyixie added the comment: Okay, I will fix these problems first. (Need for your own project) -- ___ Python tracker ___ ___

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
junyixie added the comment: -> Okay, I will fix these problems first. (Need for my own project) -- ___ Python tracker ___ ___

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
Change by junyixie : -- pull_requests: +23727 pull_request: https://github.com/python/cpython/pull/24968 ___ Python tracker ___ ___

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread STINNER Victor
STINNER Victor added the comment: Oh. I didn't expect so many "static" variables. I suggest to wait until a PEP is accepted for running multiple interpreters in parallel. -- ___ Python tracker

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
Change by junyixie : -- pull_requests: +23726 pull_request: https://github.com/python/cpython/pull/24966 ___ Python tracker ___ ___

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
junyixie added the comment: fix ./Objects/exceptions.c:static PyObject *print_prefix = NULL; ./Objects/exceptions.c:static PyObject *exec_prefix = NULL; https://github.com/python/cpython/pull/24965 -- ___ Python tracker

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
Change by junyixie : -- pull_requests: +23724 pull_request: https://github.com/python/cpython/pull/24965 ___ Python tracker ___ ___

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
junyixie added the comment: grep -E 'static (\w+) \*(\w+) =' $(find . -name "*.c") | wc -l 67 static variable may need fix ➜ cpython git:(master) grep -E 'static (\w+) \*(\w+) =' $(find . -name "*.c") ./PC/winreg.c:static char *failMsg = "bad operand type"; ./Python/codecs.c:static

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
junyixie added the comment: 43551 [Subinterpreters]: PyImport_Import use static silly_list under building Python with --with-experimental-isolated-subinterpreters share silly_list in multi subinterpreters cause crash. https://bugs.python.org/issue43551 -- message_count: 1.0 -> 2.0

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
Change by junyixie : -- keywords: +patch pull_requests: +23720 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24963 ___ Python tracker ___

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2021-03-22 Thread junyixie
New submission from junyixie : use static module variable under building Python with --with-experimental-isolated-subinterpreters cause crash. compiler_mod(struct compiler *c, mod_ty mod) { PyCodeObject *co; int addNone = 1; static PyObject *module; if (!module) {