diff options
author | Victor Stinner <vstinner@python.org> | 2020-01-30 09:02:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 09:02:14 +0100 |
commit | 7a1f6c2da46a04d0ff0acc01542f30bfeaf0e0c7 (patch) | |
tree | 97f3f57ed5557bb6eef9bc0fd3071f0fdaf3acd8 /Lib/test/test_binascii.py | |
parent | 5eb8bff7e4aa7e4d8580a30323641388c8ff59a5 (diff) | |
download | cpython-git-7a1f6c2da46a04d0ff0acc01542f30bfeaf0e0c7.tar.gz |
bpo-38631: Avoid Py_FatalError() in init_slotdefs() (GH-18263)
Rename init_slotdefs() to _PyTypes_InitSlotDefs() and add a return
value of type PyStatus. The function is now called exactly once from
_PyTypes_Init(). Replace calls to init_slotdefs() with an assertion
checking that slotdefs is initialized.
Diffstat (limited to 'Lib/test/test_binascii.py')
0 files changed, 0 insertions, 0 deletions