[Numpy-svn] [numpy/numpy] 5268fe: BUG: core/buffer: fix bug in pep-3118 format strin...

noreply at github.com noreply at github.com
Sat Apr 2 07:08:32 EDT 2011


Branch: refs/heads/maintenance/1.6.x
Home:   https://github.com/numpy/numpy

Commit: 5268fe1cfcd205552457f243d262f50166fc8eaf
    https://github.com/numpy/numpy/commit/5268fe1cfcd205552457f243d262f50166fc8eaf
Author: Pauli Virtanen <pav at iki.fi>
Date:   2011-04-02 (Sat, 02 Apr 2011)

Changed paths:
  M numpy/core/src/multiarray/buffer.c
  M numpy/core/tests/test_multiarray.py

Log Message:
-----------
BUG: core/buffer: fix bug in pep-3118 format strings for aligned structs

The offset counting for struct fields occurred in a wrong location.
Tests added.
(cherry picked from commit ef46a0910a9233b485a3b1313d2eedc217d3981b)


Commit: 8863435390d4c3300887b6d5fc3f51295455288f
    https://github.com/numpy/numpy/commit/8863435390d4c3300887b6d5fc3f51295455288f
Author: Pauli Virtanen <pav at iki.fi>
Date:   2011-04-02 (Sat, 02 Apr 2011)

Changed paths:
  M numpy/core/src/multiarray/buffer.c
  M numpy/core/tests/test_multiarray.py

Log Message:
-----------
BUG: core/buffer: fix another offset counting bug in pep-3118 format string generation
(cherry picked from commit 89db53b1f437d846829a3c387ea61001b3b66383)


Compare: https://github.com/numpy/numpy/compare/cd95d48...8863435



More information about the Numpy-svn mailing list