| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…ks with pathlike objects
to better explain it. there may be better ways to write this, but this plus the comments will do for now. I don't really _like_ catching TypeError. It's too generic.
…)" This reverts commit dd42cb7.
…)" (pythonGH-5912) * Revert "bpo-31961: subprocess now accepts path-like args (pythonGH-4329)" This reverts commit dd42cb7. (cherry picked from commit be50a7b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…honGH-4329)" (python#5912)" This reverts commit be50a7b.
| Back | FazBrowse Home | New Git URL |
As per bpo-31961, if the args argument of subprocess.run() was a path-like object, TypeError would raised. If the args argument was a sequence where the first element was a path-like object, it would work on posix, but not on windows. Both of these issues are resolved in this PR.
https://bugs.python.org/issue31961