[issue46120] Add note to `typing.Union` that it is recommended to use `|` instead

2021-12-29 Thread Nikita Sobolev
Nikita Sobolev added the comment: Thank you for your time, Łukasz! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue46120] Add note to `typing.Union` that it is recommended to use `|` instead

2021-12-29 Thread Łukasz Langa
Łukasz Langa added the comment: Haha, that backport took more time than I thought :D Thanks! ✨ 🍰 ✨ -- nosy: +lukasz.langa ___ Python tracker ___ __

[issue46120] Add note to `typing.Union` that it is recommended to use `|` instead

2021-12-29 Thread Alex Waygood
Change by Alex Waygood : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46120] Add note to `typing.Union` that it is recommended to use `|` instead

2021-12-29 Thread miss-islington
miss-islington added the comment: New changeset ed1671ced7c9b951dfc16a0cf32a2b4eab914cf1 by Miss Islington (bot) in branch '3.10': [3.10] bpo-46120: State that `|` is preferred over `Union` (GH-30222) (GH-30250) https://github.com/python/cpython/commit/ed1671ced7c9b951dfc16a0cf32a2b4eab914cf1

[issue46120] Add note to `typing.Union` that it is recommended to use `|` instead

2021-12-24 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +28472 pull_request: https://github.com/python/cpython/pull/30250 ___ Python tracker _

[issue46120] Add note to `typing.Union` that it is recommended to use `|` instead

2021-12-24 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 1b30660c3b40da557050948ac8635f2dc50c4ee2 by Nikita Sobolev in branch 'main': bpo-46120: State that `|` is preferred over `Union` (GH-30222) https://github.com/python/cpython/commit/1b30660c3b40da557050948ac8635f2dc50c4ee2 -- nosy: +g

[issue46120] Add note to `typing.Union` that it is recommended to use `|` instead

2021-12-21 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch pull_requests: +28443 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30222 ___ Python tracker ___ _

[issue46120] Add note to `typing.Union` that it is recommended to use `|` instead

2021-12-18 Thread Nikita Sobolev
Change by Nikita Sobolev : -- nosy: +asvetlov, kj ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue46120] Add note to `typing.Union` that it is recommended to use `|` instead

2021-12-18 Thread Nikita Sobolev
New submission from Nikita Sobolev : As discussed in https://mail.python.org/archives/list/[email protected]/thread/TW5M6XDN7DO346RXMADKBAAGNSZPC4ZQ/ > we could probably stick a huge notice in the typing.Union docs saying `|` is > preferred for readability in most cases, and not deprecate