A class with a __setattr__
method raising an exception cannot be rendered by Sphinx's autodoc
#11986
Labels
__setattr__
method raising an exception cannot be rendered by Sphinx's autodoc
#11986
Describe the bug
There is a class called
FrozenSpaceMeta
from thecloup
project that I try to render with Sphinx's autodoc, but it always fails because its__setattr__
method is raising an exception.Tl;Dr - the following class:
triggers that exception:
How to Reproduce
This happened in my Click Extra project, in which I re-expose
cloup.Color
in myclick_extra
module via__all__
.You can setup the initial project with:
And here is the full traceback of Sphinx trying to generate the documentation of Click Extra:
Environment Information
Sphinx extensions
Additional context
This has been originally reported at: janluke/cloup#177
The text was updated successfully, but these errors were encountered: