New submission from Ádám Szieberth: I would expect Ellipsis the same behavior as None in type hints instead of:
TypeError: Union[arg, ...]: each arg must be a type. Got Ellipsis. ... would be much nicer than type(...) there. ---------- messages: 286134 nosy: Ádám Szieberth priority: normal severity: normal status: open title: TypeError by typing for Ellipsis type: behavior versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29356> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com