Skip to content

stdlib: Use PEP646 tuple unpack for precise os.execl(p)e typing#11133

Merged
JelleZijlstra merged 1 commit intopython:mainfrom
hamdanal:stdlib-os-pep646
Dec 10, 2023
Merged

stdlib: Use PEP646 tuple unpack for precise os.execl(p)e typing#11133
JelleZijlstra merged 1 commit intopython:mainfrom
hamdanal:stdlib-os-pep646

Conversation

@hamdanal
Copy link
Copy Markdown
Contributor

@hamdanal hamdanal commented Dec 9, 2023

Both mypy and pyright are able to precisely type check heterogenous *args types in os.execle and os.execlpe now.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 9, 2023

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

@JelleZijlstra JelleZijlstra merged commit 9c5479f into python:main Dec 10, 2023
@hamdanal hamdanal deleted the stdlib-os-pep646 branch December 10, 2023 07:29
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.

2 participants