[Numpy-svn] [numpy/numpy] a8e027: BUG: Fix writing of intrinsic long integers in pyt...

GitHub noreply at github.com
Wed Oct 15 14:59:36 EDT 2014


  Branch: refs/heads/maintenance/1.9.x
  Home:   https://github.com/numpy/numpy
  Commit: a8e027ff49fdfdce4d845eef7e1f8cd939ae840a
      https://github.com/numpy/numpy/commit/a8e027ff49fdfdce4d845eef7e1f8cd939ae840a
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-10-13 (Mon, 13 Oct 2014)

  Changed paths:
    M numpy/lib/format.py

  Log Message:
  -----------
  BUG: Fix writing of intrinsic long integers in python2 npy files.

This only happens when C long is smaller than npy_intp, in particular,
on 64 bit windows. The 'L' suffix is not needed as long as safe_eval
is used to recover the values, and the long intrinsic causes problems
for python3.

The python3 read side has been fixed, but we might as well fix the
problem at the root as well.


  Commit: fb6ff9653168841ca49946e729537eee158ffc13
      https://github.com/numpy/numpy/commit/fb6ff9653168841ca49946e729537eee158ffc13
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M numpy/lib/format.py

  Log Message:
  -----------
  Merge pull request #5183 from charris/fix-npy-header-write

BUG: Fix writing of intrinsic long integers in python2 npy files.


Compare: https://github.com/numpy/numpy/compare/90ae342909af...fb6ff9653168


More information about the Numpy-svn mailing list