[Numpy-svn] [numpy/numpy] ddcb49: BUG: #4256: f2py, PyString_FromStringAndSize is un...
GitHub
noreply at github.com
Thu Feb 20 12:06:58 EST 2014
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: ddcb49e5f779a9e42356914b9ec4162b722d4ab0
https://github.com/numpy/numpy/commit/ddcb49e5f779a9e42356914b9ec4162b722d4ab0
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2014-02-16 (Sun, 16 Feb 2014)
Changed paths:
M numpy/f2py/cfuncs.py
M numpy/f2py/src/fortranobject.h
M numpy/f2py/tests/test_callback.py
Log Message:
-----------
BUG: #4256: f2py, PyString_FromStringAndSize is undefined in Python3.
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.
Commit: d54b6784501de8aef405794f20cf1f4b3941c68f
https://github.com/numpy/numpy/commit/d54b6784501de8aef405794f20cf1f4b3941c68f
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2014-02-20 (Thu, 20 Feb 2014)
Changed paths:
M numpy/f2py/cfuncs.py
M numpy/f2py/src/fortranobject.h
M numpy/f2py/tests/test_callback.py
Log Message:
-----------
Merge pull request #4305 from charris/fix-gh-4256
BUG: #4256: f2py, PyString_FromStringAndSize is undefined in Python3.
Compare: https://github.com/numpy/numpy/compare/0178b12f3cd9...d54b6784501d
More information about the Numpy-svn
mailing list