Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-40217: Ensure Py_VISIT(Py_TYPE(self)) is always called for ↵ | Pablo Galindo | 2020-05-27 | 1 | -0/+1 |
| | | | | | | | | | PyType_FromSpec types (reverts GH-19414) (GH-20264) Heap types now always visit the type in tp_traverse. See added docs for details. This reverts commit 0169d3003be3d072751dd14a5c84748ab63a249f. Automerge-Triggered-By: @encukou | ||||
* | bpo-40566: Apply PEP 573 to abc module (GH-20005) | Dong-hee Na | 2020-05-09 | 1 | -15/+19 |
| | |||||
* | bpo-40268: Remove unused structmember.h includes (GH-19530) | Victor Stinner | 2020-04-15 | 1 | -1/+0 |
| | | | | | | If only offsetof() is needed: include stddef.h instead. When structmember.h is used, add a comment explaining that PyMemberDef is used. | ||||
* | bpo-40149: Implement traverse in _abc._abc_data (GH-19412) | Victor Stinner | 2020-04-07 | 1 | -4/+22 |
| | | | Implement traverse and clear slots in _abc._abc_data type. | ||||
* | bpo-40077: Convert _abc module to use PyType_FromSpec() (GH-19202) | Dong-hee Na | 2020-03-30 | 1 | -30/+75 |
| | | | | | | | Replace statically allocated types with heap allocated types: use PyType_FromSpec(). Add a module state to store the _abc_data_type. Add traverse, clear and free functions to the module. | ||||
* | bpo-1635741: Port _abc extension to multiphase initialization (PEP 489) ↵ | Hai Shi | 2020-02-17 | 1 | -9/+18 |
| | | | | (GH-18030) | ||||
* | bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) | Dong-hee Na | 2020-02-17 | 1 | -1/+1 |
| | |||||
* | bpo-37547: add _PyObject_CallMethodOneArg (GH-14685) | Jeroen Demeyer | 2019-07-11 | 1 | -15/+8 |
| | |||||
* | Fix some typos (GH-14435) | Min ho Kim | 2019-07-05 | 1 | -2/+2 |
| | |||||
* | bpo-37337: Add _PyObject_VectorcallMethod() (GH-14228) | Jeroen Demeyer | 2019-06-28 | 1 | -6/+13 |
| | |||||
* | fix _abc.c compile error on Cygwin (GH-8445) | E. M. Bray | 2019-02-24 | 1 | -1/+1 |
| | |||||
* | bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. ↵ | Zackery Spytz | 2018-12-07 | 1 | -0/+4 |
| | | | | | | (GH-11015) Set MemoryError when appropriate, add missing failure checks, and fix some potential leaks. | ||||
* | Fix misleading mentions of tp_size in comments (GH-9093) | Peter Eisentraut | 2018-09-10 | 1 | -1/+1 |
| | | | | Many type object initializations labeled a field "tp_size" in the comment, but the name of that field is tp_basicsize. | ||||
* | bpo-34441: Fix ABC.__subclasscheck__ crash on classes with invalid ↵ | Alexey Izbyshev | 2018-08-20 | 1 | -0/+3 |
| | | | | | | __subclasses__ (GH-8835) The missing NULL check was reported by Svace static analyzer. | ||||
* | bpo-32999: ast: Convert useless check to assert (GH-6197) | INADA Naoki | 2018-03-23 | 1 | -3/+1 |
| | |||||
* | bpo-32999: Revert GH-6002 (fc7df0e6) (GH-6189) | INADA Naoki | 2018-03-22 | 1 | -24/+11 |
| | | | | bpo-33018 (GH-5944) fixed bpo-32999 too. So fc7df0e6 is not required anymore. Revert it except test case. | ||||
* | bpo-33018: Improve issubclass() error checking and message. (GH-5944) | jab | 2018-03-22 | 1 | -0/+5 |
| | | | | | This improves error message for situations when a non-class is checked w.r.t. an abstract base class. | ||||
* | bpo-32999: Fix ABC.__subclasscheck__ crash (GH-6002) | INADA Naoki | 2018-03-07 | 1 | -12/+25 |
| | |||||
* | bpo-31333: Re-implement ABCMeta in C (#5273) | Ivan Levkivskyi | 2018-02-18 | 1 | -0/+822 |
This adds C versions of methods used by ABCMeta that improve performance of various ABC operations. |