279 Commits (fe8440aec00af5bc2e995aaad205efa2e693a364)

Author SHA1 Message Date
Benjamin Peterson a6f195e48e change insertdict to not steal references (#13903) 14 years ago
Benjamin Peterson 15ee821eb5 distiguish between refusing to creating shared keys and error (#13903) 14 years ago
Martin v. Loewis 4f2f3b6217 Account for shared keys in type's __sizeof__ (#13903). 14 years ago
Benjamin Peterson 7ce67e45f8 fix dict gc tracking (#13903) 14 years ago
Benjamin Peterson db780d0d13 fix instance dicts with str subclasses (#13903) 14 years ago
Benjamin Peterson 53b977127f don't make shared keys with dict subclasses 14 years ago
Benjamin Peterson 7d95e40721 Implement PEP 412: Key-sharing dictionaries (closes #13903) 14 years ago
Brett Cannon fd0741555b Issue #2377: Make importlib the implementation of __import__(). 14 years ago
Antoine Pitrou a701388de1 Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in the stable ABI. 14 years ago
Kristján Valur Jónsson 31668b8f7a Issue #14288: Serialization support for builtin iterators. 14 years ago
Victor Stinner 3c1e48176e Issue #14383: Add _PyDict_GetItemId() and _PyDict_SetItemId() functions 14 years ago
Victor Stinner 198b291df7 Close #14205: dict lookup raises a RuntimeError if the dict is modified during 14 years ago
Antoine Pitrou e965d97ed1 Issue #13521: dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes. 14 years ago
Benjamin Peterson ce79852077 use the static identifier api for looking up special methods 14 years ago
Georg Brandl ac0675cc01 Small clarification in docstring of dict.update(): the positional argument is not required. 14 years ago
Antoine Pitrou 9a812cbc89 Issue #13389: Full garbage collection passes now clear the freelists for 14 years ago
Petri Lehtinen a94200e6ce Issue #13018: Fix reference leaks in error paths in dictobject.c. 14 years ago
Martin v. Löwis 1c67dd9b15 Port SetAttrString/HasAttrString to SetAttrId/GetAttrId. 15 years ago
Martin v. Löwis bd928fef42 Rename _Py_identifier to _Py_IDENTIFIER. 15 years ago
Victor Stinner d1a9cc29b9 dictviews_or() uses _Py_identifier 15 years ago
Martin v. Löwis afe55bba33 Add API for static strings, primarily good for identifiers. 15 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 15 years ago
Mark Dickinson 57e683e53e Issue #1621: Fix undefined behaviour in bytes.__hash__, str.__hash__, tuple.__hash__, frozenset.__hash__ and set indexing operations. 15 years ago
Brian Curtin dfc80e3d97 Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. 15 years ago
Ezio Melotti 13925008dc #11565: Fix several typos. Patch by Piotr Kasprzyk. 15 years ago
Benjamin Peterson f609654b0e handle dict subclasses gracefully in PyArg_ValidateKeywordArguments 15 years ago
Raymond Hettinger 7529afce3c Issue 10221: Improve error message for dict.pop(). 15 years ago
Raymond Hettinger dd4215483f Issue 10221: Improve error message for dict.pop(). 15 years ago
Antoine Pitrou fbb1c6191c Follow up to #9778: fix regressions on 64-bit Windows builds 16 years ago
Georg Brandl 00da4e0b5a Remove unneeded casts to hashfunc. 16 years ago
Benjamin Peterson e6baa46aab fix prototype 16 years ago
Benjamin Peterson 8f67d0893f make hashes always the size of pointers; introduce Py_hash_t #9778 16 years ago
Daniel Stutzbach 045b3ba184 Issue #9212: Added the missing isdisjoint method to the dict_keys and 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
Jeffrey Yasskin 39370830a9 Make (most of) Python's tests pass under Thread Sanitizer. 16 years ago
Benjamin Peterson fb88636199 prevent the dict constructor from accepting non-string keyword args #8419 16 years ago
Ezio Melotti 807e98e0af Merged revisions 78541 via svnmerge from 16 years ago
Ezio Melotti 7f807b79d8 Merged revisions 78515-78516,78522 via svnmerge from 16 years ago
Georg Brandl 01a30523f9 Merged revisions 74264 via svnmerge from 17 years ago
Alexandre Vassalotti e223eb8477 Merged revisions 74075,74187,74197,74201,74216,74225 via svnmerge from 17 years ago
Benjamin Peterson e5caf1034b Merged revisions 74140 via svnmerge from 17 years ago
Benjamin Peterson 9d7c3cd6d7 Merged revisions 74139 via svnmerge from 17 years ago
Benjamin Peterson 87c8d87b91 Merged revisions 73196,73278-73280,73299,73308,73312-73313,73317-73318,73321,73324,73331,73335,73340,73363 via svnmerge from 17 years ago
Benjamin Peterson 0ffaaa634d Merged revisions 72958 via svnmerge from 17 years ago
Benjamin Peterson a720559878 Merged revisions 72957 via svnmerge from 17 years ago
Antoine Pitrou acc5d6b195 Merged revisions 70550 via svnmerge from 17 years ago
Antoine Pitrou 3a652b1d0a Merged revisions 70546 via svnmerge from 17 years ago
Raymond Hettinger b0d56afc84 Give dict views a helpful __repr__. 17 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 17 years ago