Ádám Szieberth added the comment:
Well, now I believe the way I suggested would conflict with other uses of
Ellipsis in type hints.
--
resolution: -> not a bug
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
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