Ivan Levkivskyi <levkivs...@gmail.com> added the comment: Idea looks interesting (like a basic runtime @overload). My expectation is that some changes are necessary in mypy for this to work properly.
Another (minor) problem is that this creates a circular dependency functools <-> typing. ---------- nosy: +levkivskyi -gvanrossum stage: -> patch review _______________________________________ 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