Skip to content
This repository was archived by the owner on Dec 21, 2022. It is now read-only.
This repository was archived by the owner on Dec 21, 2022. It is now read-only.

Remote file object should be a line iterator. #23

@jonathanslenders

Description

@jonathanslenders

We should be able to do this:

with host.open('/file') as f:
   for line in f:
     ....

Right now, people have to do something like this:

with host.open('/file') as f:
   for line in f.read().splitlines():
     ....

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