Skip to content
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

gh-47937: Note that Popen attributes are read-only #93070

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

slateny
Copy link
Contributor

@slateny slateny commented May 22, 2022

#47937

https://docs.python.org/3/library/subprocess.html#subprocess.Popen.args

Couldn't find the mentioned __setattr__, but for example, Popen's stdin is set by p2cwrite, which is given by the argument's stdin, which gets set by _get_handles by platform. All this seems to imply that the attributes are not intended to be set other than from the constructor.

@bedevere-bot bedevere-bot added docs awaiting review labels May 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants