Message232372
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. |
|
Date |
User |
Action |
Args |
2014-12-09 12:31:43 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, benjamin.peterson |
2014-12-09 12:31:43 | amaury.forgeotdarc | set | messageid: <1418128303.35.0.105853053103.issue23020@psf.upfronthosting.co.za> |
2014-12-09 12:31:43 | amaury.forgeotdarc | link | issue23020 messages |
2014-12-09 12:31:43 | amaury.forgeotdarc | create | |
|