This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Remove unnecessary registration of weakref.WeakSet as a subtype of _collections_abc.Set
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: maggyero
Priority: normal Keywords:

Created on 2022-03-31 09:34 by maggyero, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 32211 merged maggyero, 2022-03-31 09:34
Messages (1)
msg416422 - (view) Author: Géry (maggyero) * Date: 2022-03-31 09:34
Registering `weakref.WeakSet` as a subtype of `_collections_abc.MutableSet` implies that it is also a subtype of `_collections_abc.Set` since `_collections_abc.MutableSet` is a subtype of `_collections_abc.Set` and the subtype relation is transitive.
History
Date User Action Args
2022-04-11 14:59:57adminsetgithub: 91336
2022-03-31 14:11:57rhettingersetstatus: open -> closed
resolution: fixed
stage: resolved
2022-03-31 14:10:11rhettingersetversions: - Python 3.9, Python 3.10
2022-03-31 09:34:33maggyerocreate