[Numpy-svn] [numpy/numpy] 742c97: BUG: Fix chunked reading of strings longer than BU...

GitHub noreply at github.com
Thu Nov 14 21:31:45 EST 2013


  Branch: refs/heads/maintenance/1.8.x
  Home:   https://github.com/numpy/numpy
  Commit: 742c9778985a65cff39b625d8accc2c3ab7a2adc
      https://github.com/numpy/numpy/commit/742c9778985a65cff39b625d8accc2c3ab7a2adc
  Author: Luke Carmichael <luke at deepfield.net>
  Date:   2013-11-09 (Sat, 09 Nov 2013)

  Changed paths:
    M numpy/lib/format.py
    M numpy/lib/tests/test_format.py

  Log Message:
  -----------
  BUG: Fix chunked reading of strings longer than BUFFERSIZE

This fix correctly calculates the number of BUFFER_SIZE chunks to read.
This fix takes into account dtype sizes that could be larger
than the BUFFER_SIZE, like a long string.
See #4027


  Commit: 4a9d23bdea32ca886aa6e1c4a2572c27b6ed516e
      https://github.com/numpy/numpy/commit/4a9d23bdea32ca886aa6e1c4a2572c27b6ed516e
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2013-11-14 (Thu, 14 Nov 2013)

  Changed paths:
    M numpy/lib/format.py
    M numpy/lib/tests/test_format.py

  Log Message:
  -----------
  Merge pull request #4033 from juliantaylor/backport-1.8-4027

Backport PR #4027 to 1.8


Compare: https://github.com/numpy/numpy/compare/b53c708d5400...4a9d23bdea32


More information about the Numpy-svn mailing list