[issue32227] singledispatch support for type annotations
Łukasz Langa
report at bugs.python.org
Tue Dec 5 16:58:51 EST 2017
Łukasz Langa <lukasz at langa.pl> added the comment:
> this creates a circular dependency functools <-> typing
Well, it doesn't since I explicitly import typing inside singledispatch. By the time this import happens, functools is fully imported. This would only be a problem if functools itself tried to use singledispatch with annotations. Not impossible but super unlikely.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32227>
_______________________________________
More information about the Python-bugs-list
mailing list