Skip to content

Add a scanner option for controlling the behavior when get_unscanned() is called at a previously-unreached EOF #38

Open

Description

@jwodder

To preserve old behavior, when get_unscanned() is called at EOF but no previous call hit EOF, it returns an empty string. Add a scanner option (allow_empty_body=True?) for controlling this behavior in .get_unscanned() and .scan().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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