[Numpy-svn] [numpy/numpy] 7df226: BUG: interpret 'c' PEP3118/struct type as 'S1'.
GitHub
noreply at github.com
Thu Jul 7 19:26:08 EDT 2016
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 7df226f11b571b9f67a73407624f303006e81f5f
https://github.com/numpy/numpy/commit/7df226f11b571b9f67a73407624f303006e81f5f
Author: John Zwinck <jzwinck at gmail.com>
Date: 2016-07-05 (Tue, 05 Jul 2016)
Changed paths:
M numpy/core/_internal.py
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
BUG: interpret 'c' PEP3118/struct type as 'S1'.
Before this, a 'c' type code in a PEP3118 buffer would result in
failure to construct a NumPy array. Now it's interpreted as a
single character, as in Python's struct module. This means
'4c' is an array of 4 strings of size 1, while '4s' is (as before)
a single string of size 4.
Commit: 5c8086741e14a35c98d230b1ba0967073764218b
https://github.com/numpy/numpy/commit/5c8086741e14a35c98d230b1ba0967073764218b
Author: ahaldane <ealloc at gmail.com>
Date: 2016-07-07 (Thu, 07 Jul 2016)
Changed paths:
M numpy/core/_internal.py
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
Merge pull request #7803 from jzwinck/pep3118-char
BUG: interpret 'c' PEP3118/struct type as 'S1'.
Compare: https://github.com/numpy/numpy/compare/8ff38bc0b8cd...5c8086741e14
More information about the Numpy-svn
mailing list