This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, benjamin.peterson
Date 2014-12-09.12:42:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418128933.09.0.645650640492.issue23020@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-12-09 12:42:13amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, benjamin.peterson
2014-12-09 12:42:13amaury.forgeotdarcsetmessageid: <1418128933.09.0.645650640492.issue23020@psf.upfronthosting.co.za>
2014-12-09 12:42:13amaury.forgeotdarclinkissue23020 messages
2014-12-09 12:42:12amaury.forgeotdarccreate