typeshed icon indicating copy to clipboard operation
typeshed copied to clipboard

Update `typing.Union` and `types.UnionType` definitions for 3.14

Open Viicos opened this issue 8 months ago • 6 comments

As per https://github.com/python/cpython/pull/105511.

Viicos avatar Mar 29 '25 17:03 Viicos

Thanks for contributing! Unfortunately, as outlined in our CONTRIBUTING document we only accept pull requests to the standard library for future Python versions after the first beta version has been released. This is in part to prevent churn in the stubs, and in part because the testing infrastructure for the future version is not yet in place. Please feel free to open a new PR when the first beta version has been released. Alternatively, if this PR is still relevant, you can leave a comment here to reopen it.

srittau avatar Mar 29 '25 17:03 srittau

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

github-actions[bot] avatar Mar 29 '25 17:03 github-actions[bot]

@Viicos Beta 1 has been released! I don't think contributors can re-open their PRs. You can let us know if you'd like us to re-open this or you can create a new PR!

Avasam avatar May 15 '25 18:05 Avasam

Yes happy to have this one reopened.

Viicos avatar May 15 '25 19:05 Viicos

I tried this too but ran into some trouble with how type checkers are special-casing these symbols; might need some changes inside type checkers too.

JelleZijlstra avatar May 15 '25 20:05 JelleZijlstra

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

github-actions[bot] avatar May 15 '25 20:05 github-actions[bot]