This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author andrei.avk
Recipients AMDmi3, andrei.avk, burrito, corona10, gvanrossum
Date 2022-02-28.01:51:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646013086.33.0.288995930159.issue45326@roundup.psfhosted.org>
In-reply-to
Content
This error was added in https://bugs.python.org/issue33018 . See some discussion on that issue.

Note that first arg needs to be a type (i.e. instance of `type`) to avoid this error:

[ins] In [41]: class C(ABC):0

[ins] In [42]: issubclass(dict, C)
Out[42]: False

[ins] In [43]: issubclass('', C)  # TypeError: issubclass() arg 1 must be a class

[ins] In [44]: issubclass(typing.Dict, C)   # same error as above
History
Date User Action Args
2022-02-28 01:51:26andrei.avksetrecipients: + andrei.avk, gvanrossum, corona10, AMDmi3, burrito
2022-02-28 01:51:26andrei.avksetmessageid: <1646013086.33.0.288995930159.issue45326@roundup.psfhosted.org>
2022-02-28 01:51:26andrei.avklinkissue45326 messages
2022-02-28 01:51:26andrei.avkcreate