gh-94309: Update "What's New for Python 3.12"#94729
Conversation
| :keyword:`for`, :keyword:`if`, :keyword:`in`, :keyword:`is` and :keyword:`or`. | ||
| In a future release it will be changed to a syntax error. (:gh:`87999`) | ||
| * :class:`typing.Hashable` and :class:`typing.Sized` aliases for :class:`collections.abc.Hashable` | ||
| and :class:`collections.abc.Sized`. (:gh:`94309`) |
There was a problem hiding this comment.
Let's group it with the other typing deprecation. Please could you move it up, something like this? Thanks!
The following APIs were deprecated in earlier Python versions and will be removed,
although there is currently no date scheduled for their removal.
* :class:`typing.Hashable` and :class:`typing.Sized` aliases for :class:`collections.abc.Hashable`
and :class:`collections.abc.Sized`. (:gh:`94309`)
* :class:`typing.Text` (:gh:`92332`)
* Currently Python accepts numeric literals immediately followed by keywords,|
|
||
|
|
There was a problem hiding this comment.
I'm sorry. I tried removing the extra blank line but removed one line extra. Could you please add back a newline?
|
I'm not sure I'm on board with "will be removed". Deprecated and discouraged, sure, but I don't see much reason to ever actually remove them. |
|
@JelleZijlstra Would you like another heading+intro for these two |
|
@JelleZijlstra do you plan to remove the aliases deprecate with PEP 585 in the future? If so, I think that also these aliases should be removed in the future for consistency. |
|
I don't want the PEP 585 deprecations removed either. https://discuss.python.org/t/concern-about-pep-585-removals/15901/3?u=jelle |
|
Woops yeah I forgot that these have no planned removal date. |
|
So should I close the PR? ps: btw do you have any tips on possible next steps in contributing to Python? |
|
Please don't close the PR. Move the text to under this section: We did the same in 3.11 |
|
@MonadChains since you asked earlier about what to contribute to. Apart from easy issues on the issues page, you can try focus on areas that you're interested in or areas you think the most help. Reviewing PR is also good. However, it may require some expertise in the subject area first. So I recommend working on documentation and eventually learning how things in your favorite area work. |
#94309