74 Commits (17c4edc4e0692fe55e185755ea8a2f5238f3ef08)

Author SHA1 Message Date
Pablo Galindo c2931d31f8
bpo-43916: Move the _PyStructSequence_InitType function to the internal API (GH-25854) 5 years ago
Victor Stinner 3bb09947ec
bpo-43916: Add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag (GH-25721) 5 years ago
Victor Stinner 442ad74fc2
bpo-43687: Py_Initialize() creates singletons earlier (GH-25147) 5 years ago
Pablo Galindo 0632b1012d
bpo-42128: Add __match_args__ to structseq-based classes (GH-24732) 5 years ago
Jozef Grajciar c994ffe695
bpo-11717: fix ssize_t redefinition error when targeting 32bit Windows app (GH-24479) 5 years ago
Victor Stinner 00d7abd7ef
bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586) 5 years ago
Serhiy Storchaka 686c203cd4
bpo-42423: Accept single base class in PyType_FromModuleAndSpec() (GH-23441) 5 years ago
Serhiy Storchaka fb5db7ec58
bpo-42006: Stop using PyDict_GetItem, PyDict_GetItemString and _PyDict_GetItemId. (GH-22648) 5 years ago
Victor Stinner 97d15ae1d8
bpo-40170: Use inline _PyType_HasFeature() function (GH-22375) 5 years ago
Victor Stinner 384621c42f
bpo-41078: Rename pycore_tupleobject.h to pycore_tuple.h (GH-21056) 6 years ago
Pablo Galindo 1cf15af9a6 bpo-40217: Ensure Py_VISIT(Py_TYPE(self)) is always called for PyType_FromSpec types (reverts GH-19414) (GH-20264) 6 years ago
Victor Stinner 4a21e57fe5
bpo-40268: Remove unused structmember.h includes (GH-19530) 6 years ago
Victor Stinner 60ac6ed557
bpo-39573: Use Py_SET_SIZE() function (GH-18402) 6 years ago
Serhiy Storchaka bd44a7ead9
bpo-38650: Constify PyStructSequence_UnnamedField. (GH-17005) 6 years ago
Serhiy Storchaka 279f44678c
bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933) 6 years ago
Raymond Hettinger 4210ad5ebd
bpo-38096: Complete the "structseq" and "named tuple" cleanup (GH-16010) 6 years ago
Pablo Galindo 3caf4de6f0
Call PyObject_GC_UnTrack in structseq dealloc (GH-13751) 7 years ago
Pablo Galindo 7ffcf848df
bpo-37126: Allow structseq objects to be tracked by the GC (GH-13729) 7 years ago
Eddie Elizondo 364f0b0f19 bpo-35810: Incref heap-allocated types in PyObject_Init (GH-11661) 7 years ago
Zackery Spytz 93e8012f2c bpo-36398: Fix a possible crash in structseq_repr(). (GH-12492) 7 years ago
Victor Stinner c70ab02df2
bpo-36365: Rewrite structseq_repr() using _PyUnicodeWriter (GH-12440) 7 years ago
Serhiy Storchaka d53fe5f407
bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264) 7 years ago
Sergey Fedoseev 234531b446 bpo-36030: Add _PyTuple_FromArray() function (GH-11954) 7 years ago
Victor Stinner 989052047e
Fix compiler warning in structseq_repr() (GH-10841) 7 years ago
Pablo Galindo bfb855bef6
bpo-34784: Implement correct cleanup in PyStructSequence new implementation (GH-10536) 7 years ago
Eddie Elizondo 474eedfb3d bpo-34784: Fix PyStructSequence_NewType with heap-allocated StructSequence (GH-9665) 7 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 18b250f844 bpo-29793: Convert some builtin types constructors to Argument Clinic. (#615) 9 years ago
Serhiy Storchaka 007d7ff73f Issue #28761: The fields name and doc of structures PyMemberDef, PyGetSetDef, 9 years ago
Serhiy Storchaka 85b0f5beb1 Added the const qualifier to char* variables that refer to readonly internal 9 years ago
Serhiy Storchaka 06515833fe Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 9 years ago
Serhiy Storchaka 2d06e84455 Issue #25923: Added the const qualifier to static constant arrays. 10 years ago
Serhiy Storchaka 56f6e76c68 Issue #15989: Fixed some scarcely probable integer overflows. 11 years ago
Victor Stinner 1c8f059019 Issue #18520: Add a new PyStructSequence_InitType2() function, same than 13 years ago
Victor Stinner 9a146eeadb Issue #18408: Fix structseq_reduce(), handle PyDict_SetItemString() failure 13 years ago
Victor Stinner 26f91999b4 Close #18469: Replace PyDict_GetItemString() with _PyDict_GetItemId() in structseq.c 13 years ago
Stefan Krah 6b962860e2 Check for NULL return value in PyStructSequence_NewType(). Found by Coverity. 14 years ago
Antoine Pitrou fd7e4964bb Fix indentation. 14 years ago
Antoine Pitrou 4b3c7846c9 Fix indentation 14 years ago
Antoine Pitrou c66ed457ef Issue #13020: Fix a reference leak when allocating a structsequence object fails. 14 years ago
Antoine Pitrou 37784ba5c0 Issue #13020: Fix a reference leak when allocating a structsequence object fails. 14 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago
Georg Brandl 71c23d4473 Include structseq.h in Python.h, and remove now-redundant includes in individual sources. 15 years ago
Benjamin Peterson d02441ea2f fix repr of complicated structseqs #9206 16 years ago
Benjamin Peterson ccabcd4bd4 make struct sequences subclass tuple; kill lots of code 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 17 years ago