Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, benjamin.peterson
Date 2014-12-09.12:31:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418128303.35.0.105853053103.issue23020@psf.upfronthosting.co.za>
In-reply-to
Content
When an extension module is compiled with CPython3.4, the nb_matrix_multiply slot is not filled, and no memory is allocated for it.
If the extension module is imported by CPython3.5, nb_matrix_multiply contains garbage and segfaults the interpreter.

In Python 2.7 there are flags like Py_TPFLAGS_HAVE_INDEX to gate the access  to recently added slots. I think Python3.5 should have a similar one.
History
Date User Action Args
2014-12-09 12:31:43amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, benjamin.peterson
2014-12-09 12:31:43amaury.forgeotdarcsetmessageid: <1418128303.35.0.105853053103.issue23020@psf.upfronthosting.co.za>
2014-12-09 12:31:43amaury.forgeotdarclinkissue23020 messages
2014-12-09 12:31:43amaury.forgeotdarccreate