This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author JunyiXie
Recipients JunyiXie
Date 2021-03-09.06:39:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
in multi core cpython project. 
when use  multi sub interpreters, Type is not safe. Type shared by interpreters.
but isolate type may cause python abi/api change. python 4.0?

temporary solution:
1. add a type lock to guarantee type object safe in multi subinterpreters.
2. some thing like pycmethod object and descr in pytype, set their refcount to INT MAX.It is guaranteed that these objects will not be released. and not cause memory leaks, only one type exist in memory.
Date User Action Args
2021-03-09 06:39:09JunyiXiesetrecipients: + JunyiXie
2021-03-09 06:39:09JunyiXiesetmessageid: <>
2021-03-09 06:39:09JunyiXielinkissue43442 messages
2021-03-09 06:39:08JunyiXiecreate