[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light
/ cpython Public
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "bpo-31961: subprocess now accepts path-like args (GH-4329)" #5912

Merged
merged 2 commits into from Feb 27, 2018

Conversation

Copy link
Member

serhiy-storchaka commented Feb 26, 2018

This reverts commit dd42cb7 and commit 5537646.

https://bugs.python.org/issue31961

@@ -1179,7 +1179,7 @@ def test_nonexisting_with_pipes(self):
msvcrt.CrtSetReportFile(report_type, msvcrt.CRTDBG_FILE_STDERR)

try:
subprocess.Popen(cmd,
subprocess.Popen([cmd],
Copy link
Member

gpshead Feb 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not revert 5537646. It should be a bugfix no matter what. cmd is a list and comes through the repr into this python code string as a list. using [cmd] would make it a list of lists which is never desirable here.

Copy link
Member

gpshead commented Feb 26, 2018

We do need a Misc/NEWS entry - either adding one saying the previous change was undone, or removing the Misc/NEWS entry that was added for the original change. I've asked Ned on the bug which way we should go with that.

Copy link
Member

ned-deily commented Feb 27, 2018

Is this ready to go?

Copy link
Member Author

serhiy-storchaka commented Feb 27, 2018

Only if we will decide to revert this feature completely. If we will decide to keep it see the bugfix PR #5914.

Copy link
Member

ned-deily commented Feb 27, 2018

I'll give @gpshead a few hours to chime in since it is early in the day for him.

Copy link
Member

ned-deily commented Feb 27, 2018

The clock has run out for 3.7.0b2. I'm going to push this and backport it to 3.7. We can decide later what to do for both 3.8 and 3.7.

ned-deily merged commit be50a7b into python:master Feb 27, 2018
Copy link

bedevere-bot commented Feb 27, 2018

@ned-deily: Please replace # with GH- in the commit message next time. Thanks!

Copy link
Contributor

miss-islington commented Feb 27, 2018

Thanks @serhiy-storchaka for the PR, and @ned-deily for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 27, 2018
…)" (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>
ned-deily pushed a commit that referenced this pull request Feb 27, 2018
…H-5912) (GH-5931)

* Revert "bpo-31961: subprocess now accepts path-like args (GH-4329)"

This reverts commit dd42cb7.
(cherry picked from commit be50a7b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Feb 28, 2018
Copy link

bedevere-bot commented Mar 18, 2018

GH-5931 is a backport of this pull request to the 3.7 branch.

serhiy-storchaka deleted the revert-31961 branch Oct 30, 2018
yahya-abou-imran pushed a commit to yahya-abou-imran/cpython that referenced this pull request Nov 2, 2018
…)" (python#5912)

* Revert "bpo-31961: subprocess now accepts path-like args (pythonGH-4329)"

This reverts commit dd42cb7.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants