[New-bugs-announce] [issue29356] TypeError by typing for Ellipsis

Ádám Szieberth report at bugs.python.org
Mon Jan 23 23:52:52 EST 2017


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 <report at bugs.python.org>
<http://bugs.python.org/issue29356>
_______________________________________


More information about the New-bugs-announce mailing list