139 Commits (f1c19031fd5f4cf6faad539e30796b42954527db)

Author SHA1 Message Date
Dino Viehland 4f384af067 bpo-38076: Make struct module PEP-384 compatible (#15805) 7 years ago
Min ho Kim c4cacc8c5e Fix typos in comments, docs and test names (#15018) 7 years ago
Jeroen Demeyer 196a530e00 bpo-37483: add _PyObject_CallOneArg() function (#14558) 7 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 a24107b04c
bpo-35459: Use PyDict_GetItemWithError() instead of PyDict_GetItem(). (GH-11112) 7 years ago
Serhiy Storchaka 32d96a2b5b
bpo-23867: Argument Clinic: inline parsing code for a single positional parameter. (GH-9689) 7 years ago
Serhiy Storchaka 62be74290a
bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749) 7 years ago
Siddhesh Poyarekar 55edd0c185 bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 8 years ago
Xiang Zhang c10b288f34
bpo-30249: Improve struct.unpack_from() error messages (GH-6059) 8 years ago
Serhiy Storchaka a5552f023e
bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746) 8 years ago
Xiang Zhang c3e97d9d98 bpo-30246: fix several error messages which only mention bytes in struct (#1421) 9 years ago
INADA Naoki a6296d34a4 bpo-31095: fix potential crash during GC (GH-2974) 9 years ago
Serhiy Storchaka 6969eaf468 bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955) 9 years ago
Victor Stinner f87b85f808 bpo-21071: struct.Struct.format type is now str (#845) 9 years ago
Sylvain 96c7c06850 bpo-20627: Fix error message when keyword arguments are used (#2115) 9 years ago
Johan Liu aead53b6ee bpo-30245: Fix possible overflow when organize struct.pack_into error message (#1682) 9 years ago
Xiang Zhang 981096f98b bpo-30242: resolve some undefined behaviours in struct (#1418) 9 years ago
Xiang Zhang 96f5028567 bpo-30224: remove outdated checks in struct (#1374) 9 years ago
Serhiy Storchaka 40db90c1ce bpo-29802: Fix reference counting in module-level struct functions (#1213) 9 years ago
Andrew Nester f78b119364 bpo-29649: Improve struct.pack_into() boundary error messages (#424) 9 years ago
Serhiy Storchaka a5a55902c1 Issue #29300: Use Argument Clinic for getting struct object from the format. 9 years ago
Victor Stinner c0f59ad145 Rename struct.unpack() 2nd parameter to "buffer" 9 years ago
Victor Stinner 3f2d10132d Issue #29300: Convert _struct module to Argument Clinic 9 years ago
Serhiy Storchaka 5ab81d787f Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict. 9 years ago
Victor Stinner de4ae3d486 Backed out changeset b9c9691c72c5 9 years ago
Victor Stinner 27580c1fb5 Replace PyObject_CallFunctionObjArgs() with fastcall 9 years ago
Zachary Ware 99f11b48cd Closes #21124, #28337: Call PyType_Ready on unpackiter_type. 10 years ago
Zachary Ware 854adb1e01 Issue #21124: Fix building _struct on Cygwin. 10 years ago
Benjamin Peterson a9296e7f3b require C99 bool 10 years ago
Benjamin Peterson af580dff4a replace PY_LONG_LONG with long long 10 years ago
Benjamin Peterson ed4aa83ff7 require a long long data type (closes #27961) 10 years ago
Mark Dickinson 7c4e409d07 Issue #11734: Add support for IEEE 754 half-precision floats to the struct module. Original patch by Eli Stevens. 10 years ago
Martin Panter b030991a5f Issue #26535: Correct docs regarding the struct buffer size 10 years ago
Serhiy Storchaka 48842714b9 Issue #22570: Renamed Py_SETREF to Py_XSETREF. 10 years ago
Serhiy Storchaka 4a1e70fc31 Issue #20440: Applied yet one patch for using Py_SETREF. 10 years ago
Serhiy Storchaka ef1585eb9a Issue #25923: Added more const qualifiers to signatures of static and private functions. 10 years ago
Serhiy Storchaka 2d06e84455 Issue #25923: Added the const qualifier to static constant arrays. 10 years ago
Serhiy Storchaka 5c4064e8bd Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. 10 years ago
Serhiy Storchaka 4fdb68491e Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() 11 years ago
Victor Stinner 706768c687 Issue #22156: Fix some "comparison between signed and unsigned integers" 12 years ago
Victor Stinner 45e8e2f218 Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY() 12 years ago
doko@ubuntu.com 46c5deb130 - Modules/_struct.c (unpackiter_type): Define static. 12 years ago
Serhiy Storchaka 9594942716 Issue #18783: Removed existing mentions of Python long type in docstrings, 13 years ago
Serhiy Storchaka fff61f2cd3 Issue #14596: The struct.Struct() objects now use more compact implementation. 13 years ago
Antoine Pitrou 9f14681959 Issue #17804: New function ``struct.iter_unpack`` allows for streaming struct unpacking. 13 years ago
Kristján Valur Jónsson 9795ca44fb Issue #10212: Support new buffer interface for struct.unpack and 13 years ago
Antoine Pitrou 4de7457009 Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter. 13 years ago
Petri Lehtinen 92c28cace4 #14897: Enhance error messages of struct.pack and struct.pack_into 14 years ago
Petri Lehtinen 5c89c19eae #14897: Enhance error messages of struct.pack and struct.pack_into 14 years ago
Christian Heimes 743e0cd6b5 Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified 14 years ago