Document parser breaks quietly when encountering Ellipsis (...)
The autodoc parser breaks when it encounters
... in a file. This breaks adding annotations to class attributes (see attachments).
It gives no error unless
-vv is enabled, when it produces:
[autodoc] => <class 'bad.Bar'> [autodoc] module analyzer failed: parsing failed (exception was: ParseError("bad input: type=23, value='.', context=('', (2, 7))",))
Attached 'bad.py' shows a broken example, attached 'good.py' shows that it works if
... is changed to
Ellipsis. Minimal 'conf.py' and 'index.rst' also included.