Message232373
Here is a test module that segfaults on Python3.5.
It's derived from _testcapi, but it can be anything with a PyNumberMethods.
I compiled with
gcc -g -I path/to/cpython3.4/Include/ -I /path/to/cpython3.4 mytest.c -fPIC --shared -o mytest.so
Then I ran python3.5 and:
import mytest
print(mytest.matmulType() @ 1)
When the module is compiled with 3.5, TypeError is correctly raised. |
|
Date |
User |
Action |
Args |
2014-12-09 12:42:13 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, benjamin.peterson |
2014-12-09 12:42:13 | amaury.forgeotdarc | set | messageid: <1418128933.09.0.645650640492.issue23020@psf.upfronthosting.co.za> |
2014-12-09 12:42:13 | amaury.forgeotdarc | link | issue23020 messages |
2014-12-09 12:42:12 | amaury.forgeotdarc | create | |
|