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.
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:
It could look like this:
And basically this is just moving the
ifblock inpatch_stdinoutside the function. If you want I can provide a merge request for it.