diff options
author | Petr Viktorin <encukou@gmail.com> | 2022-06-10 13:55:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 13:55:09 (GMT) |
commit | 21a9a85ff4d62e8fc5a51b8eb56154f32c319b77 (patch) | |
tree | cb04c35fb6d1fde8fbe975dee5bf7b0da4168f3a /Misc | |
parent | 3124d9a5aafb64431aa9facd0ae0e12201be77fa (diff) | |
download | cpython-21a9a85ff4d62e8fc5a51b8eb56154f32c319b77.zip cpython-21a9a85ff4d62e8fc5a51b8eb56154f32c319b77.tar.gz cpython-21a9a85ff4d62e8fc5a51b8eb56154f32c319b77.tar.bz2 |
gh-93466: Document PyType_Spec doesn't accept repeated slot IDs; raise where this was problematic (GH-93471)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2022-06-03-14-54-41.gh-issue-93466.DDtH0X.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2022-06-03-14-54-41.gh-issue-93466.DDtH0X.rst b/Misc/NEWS.d/next/C API/2022-06-03-14-54-41.gh-issue-93466.DDtH0X.rst new file mode 100644 index 0000000..0bb65ea --- /dev/null +++ b/Misc/NEWS.d/next/C API/2022-06-03-14-54-41.gh-issue-93466.DDtH0X.rst @@ -0,0 +1,3 @@ +Slot IDs in PyType_Spec may not be repeated. The documentation was updated +to mention this. For some cases of repeated slots, PyType_FromSpec and +related functions will now raise an exception. |