You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2022-01-06.15:21:22.175>labels= ['expert-subinterpreters', '3.11']
title='[subinterpreters] Unicode interned strings must not be shared between interpreters'updated_at=<Date2022-01-10.10:50:20.435>user='https://github.com/vstinner'
My commit ea25180 made Unicode interned strings per interpreter to avoid accessing the same Python object from two different interpreters, to avoid race conditions on its reference count.
Problem: the change introduced the bpo-46006 regression in _PyUnicode_EqualToASCIIId() and type update_slot() functions which make the assumption that if two strings are interned and their pointers are not equal: these strings are not equal.
3.10 branch: commit 72c260c (with changes to keep the ABI backward compatibility)
These interned strings are preventing again to run multiple interpreters in parallel, two subinterpreters must not access the same Python object: see bpo-40533.
I suggest to write a PEP to explain the rationale, and reapply my commit ea25180 with PR 30123.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: