commit | cc4b6f1c6210460c0645b1df508e114e16805784 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Mon Oct 09 00:52:06 2017 -0700 |
committer | GitHub <noreply@github.com> | Mon Oct 09 00:52:06 2017 -0700 |
tree | 0e74f9c7000f57d1fabb2a3f3c66dc0701002b09 | |
parent | 7440655bc5526a1920eeb43b41b3b2173d76065e [diff] |
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.