4710 Commits (0cb8e5131d0797d3bdb1494de842e98798174cf2)

Author SHA1 Message Date
Tim Peters ec8147ba55 Various clarifications based on feedback & questions over the years. 13 years ago
Antoine Pitrou 9d95254bb7 Issue #18772: fix the gdb plugin after the set implementation changes 13 years ago
Antoine Pitrou 91541931f5 Back out 5bd9db528aed (issue #18408). It caused unsolved buildbot failures. 13 years ago
Raymond Hettinger bfc1e1a9cd Add the same dummy type that is used in dictionaries. 13 years ago
Tim Peters 01e75a699d Add line explaining the "%sort" test. 13 years ago
Raymond Hettinger fcf3b500ba Issue 18797: Remove unneeded refcount adjustments for dummy objects. 13 years ago
Raymond Hettinger 5bb1b1dd6f Hoist the global dummy lookup out of the inner loop for set_merge(). 13 years ago
Raymond Hettinger 929cbac307 Remove a redundant hash table probe (this was artifact from an earlier draft of the patch). 13 years ago
Raymond Hettinger ae9e616a00 Issue 18772: Restore set dummy object back to unicode and restore the identity checks in lookkey(). 13 years ago
Raymond Hettinger 3c0a4f5def Issue18771: Reduce the cost of hash collisions for set objects. 13 years ago
Raymond Hettinger 07351a0449 Remove the else-clause because the conditions are no longer mutually exclusive. 13 years ago
Raymond Hettinger 237b34b074 Use a known unique object for the dummy entry. 13 years ago
Serhiy Storchaka 8fa8ee3970 Issue #18701: Remove support of old CPython versions (<3.0) from C code. 13 years ago
Raymond Hettinger 8ad3919577 Hoist the global "dummy" lookup outside of the reinsertion loop. 13 years ago
Raymond Hettinger b1b915c796 Issue 18719: Remove a false optimization 13 years ago
Antoine Pitrou 9ed5f27266 Issue #18722: Remove uses of the "register" keyword in C code. 13 years ago
Raymond Hettinger c629d4c9a2 Replace outdated optimization with clearer code that compiles better. 13 years ago
Antoine Pitrou 58720d6145 Issue #17934: Add a clear() method to frame objects, to help clean up expensive details (local variables) and break reference cycles. 13 years ago
Raymond Hettinger c86d7e989c Silence compiler warning for an unused declaration 13 years ago
Raymond Hettinger e56666d17f Silence compiler warning about an uninitialized variable 13 years ago
Serhiy Storchaka f6d0aeeadc Issue #16741: Fix an error reporting in int(). 13 years ago
Mark Dickinson 02515f7a3a Minor consistency fixes for some longobject.c exception messages: 13 years ago
Antoine Pitrou dcedaf6e53 Issue #18214: Improve finalization of Python modules to avoid setting their globals to None, in most cases. 13 years ago
Antoine Pitrou 796564c27b Issue #18112: PEP 442 implementation (safe object finalization). 13 years ago
Victor Stinner 5b3b1006bb Issue #18520: Fix _PyDict_GetItemId(), suppress _PyUnicode_FromId() error 13 years ago
Victor Stinner 34f96b8dd3 Issue #18520: Fix PyFunction_NewWithQualName() error handling 13 years ago
Victor Stinner 4d1f5d6eee Reindent PyFunction_NewWithQualName() 13 years ago
Victor Stinner 1c8f059019 Issue #18520: Add a new PyStructSequence_InitType2() function, same than 13 years ago
Christian Heimes c731bbe665 Propagate error when PyByteArray_Resize() fails in bytearray_translate() 13 years ago
Christian Heimes 26532f7519 Check return value of PyType_Ready(&EncodingMapType) 13 years ago
Christian Heimes de4d183955 Issue #18327: Fix argument order in call to compatible_for_assignment(oldto, newto, attr). 13 years ago
Victor Stinner 2c40f640d9 Issue #18408: Fix list_ass_slice(), handle list_resize() failure 13 years ago
Victor Stinner 8e47832737 Issue #18408: PyObject_Str(), PyObject_Repr() and type_call() now fail with an 13 years ago
Victor Stinner f97dfd7b59 Issue #18408: Fix dict_repr(), don't call PyObject_Repr() with an exception set 13 years ago
Victor Stinner 08a80b11ad longobject.c: add an assertion to ensure that MEDIUM_VALUE() is only called on 13 years ago
Victor Stinner 8aed6f1c7d Issue #18408: Rewrite NEGATE() macro in longobject.c to handle PyLong_FromLong() failure 13 years ago
Victor Stinner 5967bf4928 Issue #18408: Fix PyType_Ready(), handle _PyDict_SetItemId() failure 13 years ago
Victor Stinner e901d1fbdf Issue #18408: Fix Py_ReprEnter(), handle PyList_Append() failure 13 years ago
Victor Stinner 095d99ffff Issue #18408: Fix listpop(), handle list_ass_slice() failure 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
Victor Stinner 3997cfdb7f Cleanup type_call() to ease debug 13 years ago
Victor Stinner 1b63493ed1 Issue #18408: Py_ReprLeave() now saves/restores the current exception, 13 years ago
Victor Stinner ac2a4fe8a2 Issue #18408: dict_new() now fails on new_keys_object() error 13 years ago
Victor Stinner a9f61a5a23 Cleanup dictobject.c 13 years ago
Victor Stinner fdcbab9602 Issue #18408: Fix PyDict_GetItemString(), suppress PyUnicode_FromString() error 13 years ago
Victor Stinner 32fd6eab1e Issue #18408: Fix list.extend(), handle list_resize() failure 13 years ago
Victor Stinner f243ee4055 Issue #18408: add more assertions on PyErr_Occurred() in ceval.c to detect bugs 13 years ago
Victor Stinner 53510cda59 Issue #18408: type_new() and PyType_FromSpecWithBases() now raise MemoryError 13 years ago
Victor Stinner e699e5a218 Issue #18408: Don't check unicode consistency in _PyUnicode_HAS_UTF8_MEMORY() 13 years ago