Message378353
This behavior (only relevant with `from __future__ import annotations`) has been around since @singledispatchmethod was introduced in 3.8, so I agree we should treat it as a feature request.
In the meantime, maybe a workaround is to move the register call out of the class? It looks a little bit ugly but probably works.
(Disclaimer: I'm not familiar with singledispatchmethod.) |
|
| Date |
User |
Action |
Args |
| 2020-10-09 21:27:20 | gvanrossum | set | recipients:
+ gvanrossum, glyph, emma_smith, BTaskaya |
| 2020-10-09 21:27:20 | gvanrossum | set | messageid: <[email protected]> |
| 2020-10-09 21:27:20 | gvanrossum | link | issue41987 messages |
| 2020-10-09 21:27:20 | gvanrossum | create | |
|