Fix #9095: autodoc: TypeError is raised on processing broken metaclass

The logging module is crashed when the target object is a broken
metaclass that raises a TypeError on `isinstance()`.

This adds a workaround code to avoid the error.
This commit is contained in:
Takeshi KOMIYA
2021-04-18 14:36:51 +09:00
parent 9105635389
commit da792470b6
2 changed files with 9 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ Features added
--------------
* #8818: autodoc: Super class having ``Any`` arguments causes nit-picky warning
* #9095: autodoc: TypeError is raised on processing broken metaclass
* #9103: LaTeX: imgconverter: conversion runs even if not needed
* #8127: py domain: Ellipsis in info-field-list causes nit-picky warning
* #9023: More CSS classes on domain descriptions, see :ref:`nodes` for details.