summaryrefslogtreecommitdiff
path: root/numpy/f2py/src/fortranobject.h
Commit message (Collapse)AuthorAgeFilesLines
* Cleaning up PY_MAJOR_VERSION/PY_VERSION_HEXSeth Troisi2020-01-031-10/+0
|
* ENH: Chain exceptions when converting python objects to fortranEric Wieser2019-12-021-24/+1
| | | | | | Note that since we now need `npy_3kcompat.h`, we can delete all duplicated lines in this file We preserve the original exception type for compatibility with old code here.
* MAINT: Hard tab and whitespace cleanup.Charles Harris2018-03-081-13/+13
|
* MAINT: change place where NPY_NO_DEPRECATED_API is defined in f2py.Ralf Gommers2014-11-161-2/+0
| | | | | This makes sure to undef at the end, and by putting the define in the C code it ensures that the error message is understandable.
* DEP: #declaring NPY_NO_DEPRECATED_API in fortranobject.hChris Kerr2014-11-101-0/+2
|
* DEP: Replace NPY_CONTIGUOUS with NPY_ARRAY_C_CONTIGUOUSChris Kerr2014-11-101-1/+1
|
* DEP: Replaced arr->descr, arr->flags and arr->base with the PyArray_* functionsChris Kerr2014-11-101-1/+1
|
* BUG: #4256: f2py, PyString_FromStringAndSize is undefined in Python3.Charles Harris2014-02-161-0/+5
| | | | | | | | | Use PyUString_FromStringAndSize defined in npy_3kcompat instead. Not using bytes may cause some problems, but strings seem like a better choice. As modules generated with current f2py error out, this particular use is not common and we are free to choose. Closes #4256.
* MAINT: Remove outdated version checks.Charles Harris2013-07-111-21/+0
| | | | | | | | | | Because Numpy 1.8.0 will no longer supports Python versions < 2.6 we no longer need to check for that and can also remove the code that is specific to those earlier versions. To make this a bit safer, the toplevel setup.py file now contains a check of the Python version number and raises an error when run by an unsupported version.
* BUG: Choose a more unique PY_ARRAY_UNIQUE_SYMBOL in f2py.Bradley M. Froehle2013-02-241-1/+1
| | | | | | | | | | | | | 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.
* BUG: core: use PyCapsule objects only on Python >= 3.0, stay with PyCObjects ↵Pauli Virtanen2010-07-171-1/+1
| | | | on Python 2.x
* ENH, BUG: PyCObject will be deprecated in python 2.7. So use the NpyCapsuleCharles Harris2010-05-031-2/+2
| | | | | | | compatibility functions in npy_3kcompat.h to replace the current calls. This gets rid of a number of version checks and is easier to maintain. Fix bug that was present in the ufunc _loop1d_list_free destructor in the python3k case.
* 3K: f2py: port much of f2py C code to Py3Pauli Virtanen2010-03-061-3/+29
|
* ENH: Add support for PyCapsule.Charles Harris2010-02-251-1/+15
|
* Introduced intent(align4|align8|align16) attributes. Fixes scipy ticket 794 ↵Pearu Peterson2009-10-251-0/+14
| | | | after using intent(align8) in the corresponding scipy pyf files.
* Fix f2py and docTravis Oliphant2006-07-081-1/+1
|
* Fix f2py to use new namesTravis Oliphant2006-07-081-4/+4
|
* Fix f2py to handle character arrays in common blocksTravis Oliphant2006-03-081-0/+1
|
* Changed all references to scipy to numpyTravis Oliphant2006-01-041-1/+1
|
* Moved scipy directory to numpyTravis Oliphant2006-01-041-0/+123