summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-10-09 07:52:06 (GMT)
committerGitHub <noreply@github.com>2017-10-09 07:52:06 (GMT)
commitcc4b6f1c6210460c0645b1df508e114e16805784 (patch)
tree0e74f9c7000f57d1fabb2a3f3c66dc0701002b09 /Python/errors.c
parent7440655bc5526a1920eeb43b41b3b2173d76065e (diff)
downloadcpython-cc4b6f1c6210460c0645b1df508e114e16805784.zip
cpython-cc4b6f1c6210460c0645b1df508e114e16805784.tar.gz
cpython-cc4b6f1c6210460c0645b1df508e114e16805784.tar.bz2
bpo-31719: Fix test_regrtest.test_crashed() on s390x (#3912)
Add a new _testcapi._read_null() function to crash Python in a reliable way on s390x. On s390x, ctypes.string_at(0) returns an empty string rather than crashing.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions