Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |