GH-111438: Add Support for Sharing Floats Between Interpreters (gh-111439)

This only affects users of the APIs in pycore_crossinterp.h (AKA _xxsubinterpretersmodule.c and _xxinterpchannels.c).
This commit is contained in:
Anthony Shaw 2023-10-31 23:17:20 +09:00 committed by GitHub
parent 2904d99839
commit ad6380bc34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 2 deletions

View file

@ -778,6 +778,7 @@ class TestIsShareable(TestBase):
'spam',
10,
-10,
100.0,
]
for obj in shareables:
with self.subTest(obj):
@ -805,7 +806,6 @@ class TestIsShareable(TestBase):
object,
object(),
Exception(),
100.0,
# user-defined types and objects
Cheese,
Cheese('Wensleydale'),