Message411228
I think this should be fixed in typing.py instead. get_type_hints() should be less strict about what it accepts as a type, so users are free to use annotations in innovative ways.
Static type checkers should have the job of enforcing that type annotations are valid types. |
|
| Date |
User |
Action |
Args |
| 2022-01-22 03:31:18 | JelleZijlstra | set | recipients:
+ JelleZijlstra, eric.smith, uriyyo, tkomiya |
| 2022-01-22 03:31:18 | JelleZijlstra | set | messageid: <1642822278.04.0.712486366892.issue44799@roundup.psfhosted.org> |
| 2022-01-22 03:31:18 | JelleZijlstra | link | issue44799 messages |
| 2022-01-22 03:31:17 | JelleZijlstra | create | |
|