-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mypyc] Pickle test failure with Python 3.14.0a1 #17973
Comments
I suspect it's something funky when calling With a debug Python build you also get a segfault following the AttributeError:
In lldb:
|
Still an issue with |
Still an issue with |
A possible workaround could be to disable the Lines 299 to 304 in f44a60d
#if PY_MINOR_VERSION == 11
// This is a hack. Python 3.11 doesn't include good public APIs to work with managed
// dicts, which are the default for heap types. So we try to opt-out until Python 3.12.
t->ht_type.tp_flags &= ~Py_TPFLAGS_MANAGED_DICT;
+#elif PY_MINOR_VERSION == 14
+ t->ht_type.tp_flags &= ~Py_TPFLAGS_INLINE_VALUES; With that the test case passes again (and no other test is failing because of it). However, I'm unsure that's the correct solution. With python/cpython#123192 |
From what I can tell the
/CC @JukkaL |
After being a bit late with Python 3.13, I figured to start testing 3.14 early this time.
With Python
3.14.0a1
the following fails:The error message
I bisected this to python/cpython#123192 upstream.
--
This is also part of the mypyc test suite
The text was updated successfully, but these errors were encountered: