Skip to content

Restore Popen stream types - #16202

Merged
srittau merged 3 commits into
python:mainfrom
Boulea7:fix/popen-stream-types
Aug 13, 2026
Merged

Restore Popen stream types#16202
srittau merged 3 commits into
python:mainfrom
Boulea7:fix/popen-stream-types

Conversation

@Boulea7

@Boulea7 Boulea7 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Closes #15827.

Restores Popen.stdin, stdout, and stderr to use the class type parameter, so text and binary subprocesses retain their IO[str] and IO[bytes] stream types.

Developed with Codex following AGENTS.md.

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
srittau merged commit 8f448a7 into python:main Aug 13, 2026
88 checks passed
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.

Popen.std* attributes are now IO[Any]

2 participants