[Numpy-svn] [numpy/numpy] fc50d2: ENH: add storage format 2.0 with 4 byte header len...

GitHub noreply at github.com
Mon Jun 2 16:07:29 EDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: fc50d27b4e125052d44b0643bc344e4c5062316a
      https://github.com/numpy/numpy/commit/fc50d27b4e125052d44b0643bc344e4c5062316a
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2014-06-02 (Mon, 02 Jun 2014)

  Changed paths:
    M doc/release/1.9.0-notes.rst
    M numpy/lib/format.py
    M numpy/lib/tests/test_format.py

  Log Message:
  -----------
  ENH: add storage format 2.0 with 4 byte header length size

The new format only increases the header length field to 4 bytes.
allows storing structured arrays with a large number of named columns.
The dtype serialization for these can exceed the 2 byte header length
field required by the 1.0 format.
The generic functions automatically use the 2.0 format if the to be
stored data requires it. To avoid unintentional incompatibilies a
UserWarning is emitted when this happens.
If the format is not required the more compatible 1.0 format is used.

Closes gh-4690


  Commit: e6f43660b156438b0ad4f10b4c8503ba478c0cdd
      https://github.com/numpy/numpy/commit/e6f43660b156438b0ad4f10b4c8503ba478c0cdd
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-06-02 (Mon, 02 Jun 2014)

  Changed paths:
    M doc/release/1.9.0-notes.rst
    M numpy/lib/format.py
    M numpy/lib/tests/test_format.py

  Log Message:
  -----------
  Merge pull request #4765 from juliantaylor/npyformat-2.0

ENH: add storage format 2.0 with 4 byte header size


Compare: https://github.com/numpy/numpy/compare/5e7e24e3959e...e6f43660b156


More information about the Numpy-svn mailing list