29 Commits (eaccc12aa986f92ea05f3f0a63cedbff78dd67f1)

Author SHA1 Message Date
Victor Stinner 32bd68c839
bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) 5 years ago
Andy Lester c3fa634096
closes bpo-39736: const strings in Modules/_datetimemodule.c and Modules/_testbuffer.c (GH-18637) 6 years ago
Dong-hee Na 1b55b65638
bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) 6 years ago
Victor Stinner d2ec81a8c9
bpo-39573: Add Py_SET_TYPE() function (GH-18394) 6 years ago
Victor Stinner daa9756cb6
bpo-39573: Use Py_TYPE() macro in Modules directory (GH-18393) 6 years ago
Jeroen Demeyer 530f506ac9 bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 7 years ago
Serhiy Storchaka d4f9cf5545
bpo-33029: Fix signatures of getter and setter functions. (GH-10746) 7 years ago
Serhiy Storchaka 62be74290a
bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749) 7 years ago
Serhiy Storchaka e0d67f17cc
bpo-34201: Make ndarray.readonly a bool and use stricter tests in test_buffer. (GH-8414) 8 years ago
Benjamin Peterson 6cfe45a5c3
Make various internal _testbuffer symbols static. (GH-8160) 8 years ago
Siddhesh Poyarekar 55edd0c185 bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 8 years ago
Serhiy Storchaka b879fe82e7 Expand the PySlice_GetIndicesEx macro. (#1023) 9 years ago
Stefan Krah 0b64a0fc64 Add comment why the change in d83884b3a427 wasn't necessary. 9 years ago
Stefan Krah dada5a8d75 Revert part of 3cb3e224b692 in code that I maintain. 9 years ago
Victor Stinner de4ae3d486 Backed out changeset b9c9691c72c5 9 years ago
Victor Stinner 27580c1fb5 Replace PyObject_CallFunctionObjArgs() with fastcall 9 years ago
Serhiy Storchaka 2d06e84455 Issue #25923: Added the const qualifier to static constant arrays. 10 years ago
Serhiy Storchaka 009b811d67 Removed unintentional trailing spaces in non-external and non-generated C files. 11 years ago
Serhiy Storchaka 1a1ff29659 Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer 11 years ago
Stefan Krah 363af44a4a Issue #22445: PyBuffer_IsContiguous() now implements precise contiguity 11 years ago
Georg Brandl 782952b8fe Re #18521: fix not-quite-C syntax that works only because the PyXXX_Check are macros defined with () around them. 12 years ago
Charles-Francois Natali 74ca886788 Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant() 13 years ago
Stefan Krah 527a2400fb _testbuffer.c: In all current use cases of cmp_structure() dest->format and 14 years ago
Stefan Krah 66e63170d9 Issue #15770: Check invalid arguments in test function. Patch by Victor Stinner. 14 years ago
Stefan Krah 7d12d9df13 Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays. 14 years ago
Stefan Krah 5d953184a6 Issue #14779: Get sizeof(void *) directly rather than relying on sysconfig. 14 years ago
Stefan Krah 1649c1b33a Issue #14181: Preserve backwards compatibility for getbufferprocs that a) do 14 years ago
Stefan Krah bf6c7eca43 Issue #14181: Test creating memoryviews from a static exporter with both 14 years ago
Stefan Krah 4e99a315b7 Issue #14181: Allow memoryview construction from an object that uses the 14 years ago
Stefan Krah 9a2d99e28a - Issue #10181: New memoryview implementation fixes multiple ownership 14 years ago