diff options
author | Bradley M. Froehle <brad.froehle@gmail.com> | 2013-02-24 21:31:28 -0800 |
---|---|---|
committer | Bradley M. Froehle <brad.froehle@gmail.com> | 2013-02-24 21:31:28 -0800 |
commit | a226daa75816577ac9c734133e600e5eebd9aaa9 (patch) | |
tree | 6bc93ddaf28d40377d58314609c656ce1833163f /numpy/lib/function_base.py | |
parent | 6de7a4be70c894e3d63ac952bd20a74c171e6413 (diff) | |
download | numpy-a226daa75816577ac9c734133e600e5eebd9aaa9.tar.gz |
BUG: Choose a more unique PY_ARRAY_UNIQUE_SYMBOL in f2py.
In a few exceptional cases where symbols are shared between different
Python modules the use of `PyArray_API` in f2py (fortranobject.h)
conflicts with the regular use of the same symbol in the multiarray
module. Generally the symptom of this conflicting use is a segfault
when importing a f2py'ed module. This occurs because the module init
code somehow overwrites the first element of `PyArray_API` with the
location of `PyArray_API`, causing a crash when
`PyArray_GetNDArrayCVersion` is called.
Closes gh-2521.
Diffstat (limited to 'numpy/lib/function_base.py')
0 files changed, 0 insertions, 0 deletions