Hello everyone, for a project (EventGhost <https://github.com/EventGhost/EventGhost>) i'm trying to update sphinx from 1.7.5 to 1.8.3, but after the update the building of the docs print some warnings:
WARNING: error while formatting arguments for eg.TriggerEvent: 'function' object has no attribute '__bases__' WARNING: error while formatting arguments for eg.PrintError: 'function' object has no attribute '__bases__' After some tests i found out that some code changes in sphinx 1.8.1 <https://github.com/sphinx-doc/sphinx/compare/v1.8.0...v1.8.1> lead to these warnings. Sphinx 1.8.0 don't give those warnings. With some trial and error i got building the docs (with sphinx 1.8.1+) if i change the following in sphinx.util.inspect: def isfunction(obj): # type: (Any) -> bool """Check if the object is function.""" return inspect.isfunction(obj) or ispartial(obj) and inspect.isfunction(obj.func) to: def isfunction(obj): # type: (Any) -> bool """Check if the object is function.""" return inspect.isroutine(obj) or ispartial(obj) and inspect.isroutine(obj.func) But those lines were not changed in sphinx 1.8.1, so i guess there must be another reason for the warnings. Can someone shed some light on why i get these warnings? TIA, Torsten -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
