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, ethan smith, BTaskaya |
2020-10-09 21:27:20 | gvanrossum | set | messageid: <1602278840.27.0.177153745374.issue41987@roundup.psfhosted.org> |
2020-10-09 21:27:20 | gvanrossum | link | issue41987 messages |
2020-10-09 21:27:20 | gvanrossum | create | |
|