summaryrefslogtreecommitdiffstats
path: root/Modules/_abc.c
Commit message (Collapse)AuthorAgeFilesLines
* bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. ↵Zackery Spytz2018-12-071-0/+4
| | | | | (GH-11015) (GH-11020) (cherry picked from commit 4c49da0cb7434c676d70b9ccf38aca82ac0d64a9)
* [3.7] Fix misleading mentions of tp_size in comments. (GH-9136)Benjamin Peterson2018-09-101-1/+1
| | | | | | | Many type object initializations labeled a field "tp_size" in the comment, but the name of that field is tp_basicsize.. (cherry picked from commit 0e0bc4e221f592f305d335faf5f8046484eb9238) Co-authored-by: Peter Eisentraut <peter@eisentraut.org>
* bpo-34441: Fix ABC.__subclasscheck__ crash on classes with invalid ↵Miss Islington (bot)2018-08-201-0/+3
| | | | | | | | __subclasses__ (GH-8835) The missing NULL check was reported by Svace static analyzer. (cherry picked from commit cdbf50cba1664f72ae6621a89c324a32fea70377) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
* bpo-32999: ast: Convert useless check to assert (GH-6197)Miss Islington (bot)2018-03-231-3/+1
| | | | | (cherry picked from commit c65bf3fe4a2bde424b79e350f36b7aaa3f6476f6) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
* bpo-32999: Revert GH-6002 (fc7df0e6) (GH-6189) (GH-6190)Miss Islington (bot)2018-03-221-24/+11
| | | | | | | bpo-33018 (GH-5944) fixed bpo-32999 too. So fc7df0e6 is not required anymore. Revert it except test case. (cherry picked from commit f757b72b2524ce3451d2269f0b8a9f0593a7b27f) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
* bpo-33018: Improve issubclass() error checking and message. (GH-5944)Miss Islington (bot)2018-03-221-0/+5
| | | | | | | 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>
* bpo-32999: Fix ABC.__subclasscheck__ crash (GH-6002)Miss Islington (bot)2018-03-071-12/+25
| | | | | (cherry picked from commit fc7df0e664198cb05cafd972f190a18ca422989c) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
* bpo-31333: Re-implement ABCMeta in C (GH-5733)Ivan Levkivskyi2018-02-181-0/+822
This adds C versions of methods used by ABCMeta that improve performance of various ABC operations.