Message409080
Original discussion in `typing` bug tracker: https://github.com/python/typing/issues/985
Short description:
- `property[GetType, SetType]` is required for us to remove a lot of special casing from type-checkers and just use the primitive type
- In runtime it copies the same behavior `list` / `dict` / other primitive types have under PEP585
Open questions:
- I think that it is too late to backport this in 3.10. Am I right?
- I hope that `from __future__ import annotations` will just work for this new change. Is there anything I should do in scope of this PR? Is my assumption about `__future__` import is even correct in this context? Do I need to test that it works with `__future__ annotations`? |
|
Date |
User |
Action |
Args |
2021-12-23 09:50:25 | sobolevn | set | recipients:
+ sobolevn, gvanrossum, kj |
2021-12-23 09:50:25 | sobolevn | set | messageid: <1640253025.77.0.520385746674.issue46162@roundup.psfhosted.org> |
2021-12-23 09:50:25 | sobolevn | link | issue46162 messages |
2021-12-23 09:50:25 | sobolevn | create | |
|