Message380816
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 |
|
Date |
User |
Action |
Args |
2020-11-12 12:04:09 | tinchester | set | recipients:
+ tinchester, gvanrossum |
2020-11-12 12:04:09 | tinchester | set | messageid: <1605182649.58.0.535979406085.issue42332@roundup.psfhosted.org> |
2020-11-12 12:04:09 | tinchester | link | issue42332 messages |
2020-11-12 12:04:08 | tinchester | create | |
|