Message368972
Yes, this is as expected. A recommended workaround is to define a type alias like `Match = re.Match` before the class body. You can also suppress the exception with `from __future__ import annotations` (so that the annotations are not evaluated), but static type checkers like mypy will still force you to use the alias. |
|
Date |
User |
Action |
Args |
2020-05-15 20:48:00 | levkivskyi | set | recipients:
+ levkivskyi, eric.smith, robieta |
2020-05-15 20:48:00 | levkivskyi | set | messageid: <1589575680.3.0.0571249413756.issue40595@roundup.psfhosted.org> |
2020-05-15 20:48:00 | levkivskyi | link | issue40595 messages |
2020-05-15 20:48:00 | levkivskyi | create | |
|