Message 388745 - Python tracker
Message388745
| Author | vstinner |
|---|---|
| Recipients | JunyiXie, methane, nascheme, vstinner |
| Date | 2021-03-15.14:39:50 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1615819190.33.0.71943860278.issue43313@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
The current workaround is to disable pymalloc when Python is built with EXPERIMENTAL_ISOLATED_SUBINTERPRETERS:
_PyPreConfig_InitCompatConfig(PyPreConfig *config):
#ifdef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS
/* bpo-40512: pymalloc is not compatible with subinterpreters,
force usage of libc malloc() which is thread-safe. */
#ifdef Py_DEBUG
config->allocator = PYMEM_ALLOCATOR_MALLOC_DEBUG;
#else
config->allocator = PYMEM_ALLOCATOR_MALLOC;
#endif
#else
...
#endif |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021-03-15 14:39:50 | vstinner | set | recipients: + vstinner, nascheme, methane, JunyiXie |
| 2021-03-15 14:39:50 | vstinner | set | messageid: <1615819190.33.0.71943860278.issue43313@roundup.psfhosted.org> |
| 2021-03-15 14:39:50 | vstinner | link | issue43313 messages |
| 2021-03-15 14:39:50 | vstinner | create | |