Skip to content

a[::-1].tofile(f) creates junk (Trac #436) #1034

Closed
@numpy-gitbot

Description

@numpy-gitbot

Original ticket http://projects.scipy.org/numpy/ticket/436 on 2007-01-27 by @sebhaase, assigned to unknown.

Hi!

arr.tofile(f) creates garbage in f.
f in my case is an open file object at position 1024
(that's the length of our file format's header)

N.__version__
'1.0.1'

It cannot determine what exactly goes wrong - the file size seems to be varying even if arr always has the same size (my arr has dtype=uint16)

Thanks,
Sebastian Haase

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions