Łukasz Langa <luk...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue32227> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com