Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Get stdin function directly #2

Description

@sigmavirus24

In GitLab by @xZise on Jul 26, 2016, 04:35

I'm wondering if this package could provide the stdin function directly. So instead of needing to patch some module so it looks like this:

from flake8_polyfill import stdin
stdin.patch_stdin('pep8')
from pep8 import stdin_get_value

It could look like this:

from flake8_polyfill.stdin import stdin_get_value

And basically this is just moving the if block in patch_stdin outside the function. If you want I can provide a merge request for it.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions