diff options
author | jab <jab@users.noreply.github.com> | 2018-03-22 11:26:06 (GMT) |
---|---|---|
committer | Ivan Levkivskyi <levkivskyi@gmail.com> | 2018-03-22 11:26:06 (GMT) |
commit | 40472dd42de4f7265d456458cd13ad6894d736db (patch) | |
tree | 2e6defa875a783260642cf6fa2546f0db387b6a3 /Misc | |
parent | d93b5161af12291f3f98a260c90cc2975ea9e9cd (diff) | |
download | cpython-40472dd42de4f7265d456458cd13ad6894d736db.zip cpython-40472dd42de4f7265d456458cd13ad6894d736db.tar.gz cpython-40472dd42de4f7265d456458cd13ad6894d736db.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2018-03-22-23-09-06.bpo-33018.0ncEJV.rst | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -202,6 +202,7 @@ Dillon Brock Richard Brodie Michael Broghton Ammar Brohi +Josh Bronson Daniel Brotsky Jean Brouwers Gary S. Brown diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-03-22-23-09-06.bpo-33018.0ncEJV.rst b/Misc/NEWS.d/next/Core and Builtins/2018-03-22-23-09-06.bpo-33018.0ncEJV.rst new file mode 100644 index 0000000..e799e98 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2018-03-22-23-09-06.bpo-33018.0ncEJV.rst @@ -0,0 +1,3 @@ +Improve consistency of errors raised by ``issubclass()`` when called with a +non-class and an abstract base class as the first and second arguments, +respectively. Patch by Josh Bronson. |