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

Get stdin function directly #2

@sigmavirus24

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions