[Python-checkins] gh-94309: Add typing.Hashable and typing.Sized for "What's New for Python 3.12" (GH-94729)

Fidget-Spinner webhook-mailer at python.org
Thu Jul 14 02:50:40 EDT 2022


https://github.com/python/cpython/commit/b03a9e8c8a4f3f5bb7196d4825fbfdaff022756f
commit: b03a9e8c8a4f3f5bb7196d4825fbfdaff022756f
branch: main
author: MonadChains <monadchains at gmail.com>
committer: Fidget-Spinner <28750310+Fidget-Spinner at users.noreply.github.com>
date: 2022-07-14T07:50:31+01:00
summary:

gh-94309: Add typing.Hashable and typing.Sized for "What's New for Python 3.12" (GH-94729)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner at users.noreply.github.com>

files:
M Doc/whatsnew/3.12.rst

diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index 3de80cf6a68fc..c23026b436c88 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -132,6 +132,9 @@ CPython bytecode changes
 Deprecated
 ==========
 
+* :class:`typing.Hashable` and :class:`typing.Sized` aliases for :class:`collections.abc.Hashable`
+  and :class:`collections.abc.Sized`. (:gh:`94309`)
+
 
 Pending Removal in Python 3.13
 ------------------------------



More information about the Python-checkins mailing list