gh-148829: Implement PEP 661#148831
Conversation
Co-authored-by: Victorien <[email protected]>
Co-authored-by: Victorien <[email protected]>
Co-authored-by: Pieter Eendebak <[email protected]>
|
🤖 New build scheduled with the buildbot fleet by @JelleZijlstra for commit 53a84b6 🤖 Results will be shown at: If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
ZeroIntensity
left a comment
There was a problem hiding this comment.
The C code and the corresponding documentation look good to me. I didn't look very closely at the tests.
|
Buildbot run: A few failures look unrelated But I also see Which is a bit mysterious, is this looking at the builtins of another build? |
Yes. We need to patch this test. It tests pickle compatiblity acrosses python versions. |
diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py
index 6366f12257..c2018c9785 100644
--- a/Lib/test/pickletester.py
+++ b/Lib/test/pickletester.py
@@ -3244,6 +3244,7 @@ def test_builtin_types(self):
'BuiltinImporter': (3, 3),
'str': (3, 4), # not interoperable with Python < 3.4
'frozendict': (3, 15),
+ 'sentinel': (3, 15),
}
for t in builtins.__dict__.values():
if isinstance(t, type) and not issubclass(t, BaseException): |
I opened #148967 to track it. |
|
Thanks for the feedback! Pushed a new version. |
|
🤖 New build scheduled with the buildbot fleet by @JelleZijlstra for commit 7c276c5 🤖 Results will be shown at: If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
|
Buildbot failures seem to be just the FFI_TYPE_COMPLEX thing on RHEL8. |
|
The |
Replaces JelleZijlstra#4. See python/steering-council#258.
📚 Documentation preview 📚: https://cpython-previews--148831.org.readthedocs.build/