]> granicus.if.org Git - python/commit
bpo-33018: Improve issubclass() error checking and message. (GH-5944)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 22 Mar 2018 11:49:26 +0000 (04:49 -0700)
committerGitHub <noreply@github.com>
Thu, 22 Mar 2018 11:49:26 +0000 (04:49 -0700)
commit346964ba0586e402610ea886e70bee1294874781
tree5b39785af27f0ad2b2081ab4ffaf328de9f5c8a5
parent8f46176f0e19d31d8642735e535183a39c5e0bdc
bpo-33018: Improve issubclass() error checking and message. (GH-5944)

This improves error message for situations when a non-class is
checked w.r.t. an abstract base class.
(cherry picked from commit 40472dd42de4f7265d456458cd13ad6894d736db)

Co-authored-by: jab <jab@users.noreply.github.com>
Lib/_py_abc.py
Misc/ACKS
Misc/NEWS.d/next/Core and Builtins/2018-03-22-23-09-06.bpo-33018.0ncEJV.rst [new file with mode: 0644]
Modules/_abc.c