Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-39573: Use Py_TYPE() macro in Objects directory (GH-18392) | Victor Stinner | 2020-02-07 | 1 | -1/+1 |
| | | | Replace direct access to PyObject.ob_type with Py_TYPE(). | ||||
* | bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async ↵ | Jeroen Demeyer | 2019-05-31 | 1 | -2/+2 |
| | | | | | | | | | (GH-13464) Automatically replace tp_print -> tp_vectorcall_offset tp_compare -> tp_as_async tp_reserved -> tp_as_async | ||||
* | bpo-35459: Use PyDict_GetItemWithError() instead of PyDict_GetItem(). (GH-11112) | Serhiy Storchaka | 2019-02-25 | 1 | -2/+5 |
| | |||||
* | bpo-35454: Fix miscellaneous minor issues in error handling. (#11077) | Serhiy Storchaka | 2018-12-11 | 1 | -9/+9 |
| | | | | | | * bpo-35454: Fix miscellaneous minor issues in error handling. * Fix a null pointer dereference. | ||||
* | 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-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. ↵ | Siddhesh Poyarekar | 2018-04-29 | 1 | -1/+1 |
| | | | | | | | | | (GH-6030) METH_NOARGS functions need only a single argument but they are cast into a PyCFunction, which takes two arguments. This triggers an invalid function cast warning in gcc8 due to the argument mismatch. Fix this by adding a dummy unused argument. | ||||
* | bpo-31655: Validate keyword names in SimpleNamespace constructor. (#3909) | Serhiy Storchaka | 2017-10-07 | 1 | -1/+5 |
| | |||||
* | bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (#1096) | Serhiy Storchaka | 2017-04-19 | 1 | -9/+3 |
| | | | | | | raised an error. Replace them with using concrete types API that never fails if appropriate. | ||||
* | use c++ style comments | Benjamin Peterson | 2016-09-07 | 1 | -4/+4 |
| | |||||
* | Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). | Serhiy Storchaka | 2015-05-22 | 1 | -4/+3 |
| | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace. | ||||
* | Don't use deprecated function PyUnicode_GET_SIZE() | Victor Stinner | 2013-11-13 | 1 | -1/+1 |
| | | | | Replace it with PyUnicode_GET_LENGTH() or PyUnicode_AsUnicodeAndSize() | ||||
* | Issue #18722: Remove uses of the "register" keyword in C code. | Antoine Pitrou | 2013-08-13 | 1 | -1/+1 |
| | |||||
* | Issue #9566: Fix a compiler warning on Windows 64-bit in namespace_init() | Victor Stinner | 2013-06-04 | 1 | -1/+1 |
| | | | | | | The result type is int, return -1 to avoid a compiler warning (cast Py_ssize_t to int). PyObject_Size() can only fail with -1, and anyway a constructor should return -1 on error, not an arbitrary negative number. | ||||
* | Issue #15022: Ensure all pickle protocols are supported. | Eric Snow | 2013-02-17 | 1 | -1/+24 |
| | |||||
* | Issue #15022: Add pickle and comparison support to types.SimpleNamespace. | Eric Snow | 2013-02-16 | 1 | -9/+24 |
| | |||||
* | Close #16160: Subclass support now works for types.SimpleNamespace. Thanks ↵ | Eric Snow | 2012-10-17 | 1 | -12/+12 |
| | | | | to RDM for noticing. | ||||
* | Eric Snow's implementation of PEP 421. | Barry Warsaw | 2012-06-03 | 1 | -0/+225 |
Issue 14673: Add sys.implementation |