summaryrefslogtreecommitdiff
path: root/Lib/test/test_binascii.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-01-30 09:02:14 +0100
committerGitHub <noreply@github.com>2020-01-30 09:02:14 +0100
commit7a1f6c2da46a04d0ff0acc01542f30bfeaf0e0c7 (patch)
tree97f3f57ed5557bb6eef9bc0fd3071f0fdaf3acd8 /Lib/test/test_binascii.py
parent5eb8bff7e4aa7e4d8580a30323641388c8ff59a5 (diff)
downloadcpython-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