133 Commits (62be74290aca26d16f3f55ece7ff6dad14e60e8d)

Author SHA1 Message Date
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) 8 years ago
INADA Naoki a6296d34a4 bpo-31095: fix potential crash during GC (GH-2974) 8 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. 9 years ago
Zachary Ware 854adb1e01 Issue #21124: Fix building _struct on Cygwin. 9 years ago
Benjamin Peterson a9296e7f3b require C99 bool 9 years ago
Benjamin Peterson af580dff4a replace PY_LONG_LONG with long long 9 years ago
Benjamin Peterson ed4aa83ff7 require a long long data type (closes #27961) 9 years ago
Mark Dickinson 7c4e409d07 Issue #11734: Add support for IEEE 754 half-precision floats to the struct module. Original patch by Eli Stevens. 9 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 13 years ago
Petri Lehtinen 5c89c19eae #14897: Enhance error messages of struct.pack and struct.pack_into 13 years ago
Christian Heimes 743e0cd6b5 Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified 13 years ago
Meador Inge 90bc2dbcce Issue #15402: Simplify Struct.__sizeof__ and make tests more precise. 14 years ago
Meador Inge 6812346808 Issue #15402: Simplify Struct.__sizeof__ and make tests more precise. 14 years ago
Meador Inge b14d8c9bcf Issue #15402: Add a __sizeof__ method to struct.Struct. 14 years ago
Meador Inge 87c5b94c39 Issue #15402: Add a __sizeof__ method to struct.Struct. 14 years ago
Antoine Pitrou 45d9c91d4b Issue #3163: The struct module gets new format characters 'n' and 'N' 14 years ago
Ezio Melotti 24b07bcba3 #11515: fix several typos. Patch by Piotr Kasprzyk. 15 years ago