mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
GH-111435: Add Support for Sharing True and False Between Interpreters (gh-111436)
This only affects users of the APIs in pycore_crossinterp.h (AKA _xxsubinterpretersmodule.c and _xxinterpchannels.c).
This commit is contained in:
parent
9322ce90ac
commit
230e8e924d
4 changed files with 33 additions and 4 deletions
|
@ -778,6 +778,8 @@ class TestIsShareable(TestBase):
|
|||
'spam',
|
||||
10,
|
||||
-10,
|
||||
True,
|
||||
False,
|
||||
100.0,
|
||||
]
|
||||
for obj in shareables:
|
||||
|
@ -797,8 +799,6 @@ class TestIsShareable(TestBase):
|
|||
|
||||
not_shareables = [
|
||||
# singletons
|
||||
True,
|
||||
False,
|
||||
NotImplemented,
|
||||
...,
|
||||
# builtin types and objects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue