Space after the "+" operator
On Jan 31, 2013 7:34 PM, "Bartosz Telenczuk" <notifications@github.com>
wrote:

> In numpy/lib/format.py:
>
> > -            array = numpy.fromstring(data, dtype=dtype, count=count)
> > +            # crc32 module fails on reads greater than 2 ** 32 bytes, breaking
> > +            # large reads from gzip streams. Chunk reads to 256mb to avoid issue
> > +            # and reduce memory overhead of the read. In non-chunked case
> > +            # count < max_read_count, so only one read is performed.
> > +
> > +            max_buffer_size = 2 ** 28
> > +            max_read_count = max_buffer_size // dtype.itemsize
> > +
> > +            array = numpy.empty(count, dtype=dtype)
> > +
> > +            for i in range(0, count, max_read_count):
> > +                read_count = min(max_read_count, count - i)
> > +
> > +                data = fp.read(int(read_count * dtype.itemsize))
> > +                array[i:i+read_count] = numpy.frombuffer(data, dtype=dtype, count=read_count)
>
> Sorry, I can't spot this one. Where is it?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/numpy/numpy/pull/2942/files#r2847191>.
>
>