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.

Author tinchester
Recipients gvanrossum, tinchester
Date 2020-11-12.12:04:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605182649.58.0.535979406085.issue42332@roundup.psfhosted.org>
In-reply-to
Content
For example, dict[int, int] cannot be used with singledispatch because types.GenericAlias doesn't support weak references.

I'm an author of a third party library (https://github.com/Tinche/cattrs) for which this functionality would be useful.

Here's a similar issue in typing (note that this issue is for *types*.GenericAlias) that was fixed: https://github.com/python/typing/issues/345
History
Date User Action Args
2020-11-12 12:04:09tinchestersetrecipients: + tinchester, gvanrossum
2020-11-12 12:04:09tinchestersetmessageid: <1605182649.58.0.535979406085.issue42332@roundup.psfhosted.org>
2020-11-12 12:04:09tinchesterlinkissue42332 messages
2020-11-12 12:04:08tinchestercreate