mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
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:
parent
2904d99839
commit
ad6380bc34
4 changed files with 34 additions and 2 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue