Skip to content

read and write issues in windows #8

@deadPix3l

Description

@deadPix3l

This is a reference to the comments made on #7. The windows implementation on python seems to struggle with reading and writing to a file without seeks and flushes separating them. While I was seeking between the read() and write(), I did not between the write() and the next blocks read(). One hacky way to solve this is a seek. Any seek, even if it does nothing, like f.seek(f.tell()) will fix it. Or the more proper way (which will come in a commit fixing this issue soon) is f.flush(). I just wanted to document it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions