Skip to content

Add cwd argument to Python 3 stubs for subprocess calls. #889

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

Merged
merged 1 commit into from
Oct 7, 2015
Merged

Add cwd argument to Python 3 stubs for subprocess calls. #889

merged 1 commit into from
Oct 7, 2015

Conversation

Vlad-Shcherbina
Copy link
Contributor

No description provided.

@o11c
Copy link
Contributor

o11c commented Oct 2, 2015

Maybe you should check all the functions in that stub take all the possible keyword arguments.

@Vlad-Shcherbina
Copy link
Contributor Author

I agree that it's totally worth doing eventually. I myself intend to do it, even (no promises though). But I would prefer to do it in a separate PR, unless the owner insists. For now I'm just testing the waters, how contribution to this project works (for instance, whether I'll be asked to send this patch to typeshed instead, or I don't know what).

In addition, I'm reasonably confident in this trivial change, while updating all keyword arguments is much more error-prone, as they are scattered across module documentation.

@matthiaskramm
Copy link
Contributor

Yes, sending an (additional?) PR to http://github.com/python/typeshed would make a lot of sense.
(Until #884 is merged, all stubs changes should probably happen in both repositories, to keep things in sync)

@JukkaL
Copy link
Collaborator

JukkaL commented Oct 7, 2015

Yeah, until we have a complete stub story sending PRs to typeshed as well would be appreciated (but not necessary). Also, it's totally fine to send only small updates or fixes to stubs such as these.

JukkaL added a commit that referenced this pull request Oct 7, 2015
Add `cwd` argument to Python 3 stubs for subprocess calls.
@JukkaL JukkaL merged commit 874be10 into python:master Oct 7, 2015
@JukkaL
Copy link
Collaborator

JukkaL commented Oct 7, 2015

And thanks for the PR!

@matthiaskramm
Copy link
Contributor

Applied this change to http://github.com/python/typeshed as well.

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

Successfully merging this pull request may close these issues.

4 participants