4710 Commits (0cb8e5131d0797d3bdb1494de842e98798174cf2)

Author SHA1 Message Date
Christian Heimes 34bdeb5d81 Add a comment about *not* caching the hash value. Issue #9685 suggested to memorize the hash value, but the feature request was rejected because no speed ups were found. 13 years ago
Serhiy Storchaka 6c83e739d7 Issue #16856: Fix a segmentation fault from calling repr() on a dict with 13 years ago
Victor Stinner 18aa4477d3 Close #16281: handle tailmatch() failure and remove useless comment 13 years ago
Victor Stinner 20b654acb5 Issue #16455: On FreeBSD and Solaris, if the locale is C, the 13 years ago
Benjamin Peterson 8f53ded1ee untabify 13 years ago
Benjamin Peterson a708adfcf6 call PyErr_Clear() when ignoring error from PyNumber_Int (closes #15516) 13 years ago
Benjamin Peterson 6b3f8d375b ensure the attribute name string is initalized before using it (closes #16839) 13 years ago
Benjamin Peterson 5ca88d2b18 get the core to compile --disable-unicode 13 years ago
Antoine Pitrou 0811f98e10 Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats(). 13 years ago
Serhiy Storchaka 0b386d5247 Issue #16761: Raise TypeError when int() called with base argument only. 13 years ago
Serhiy Storchaka cf095f8e0f Issue #16761: Raise TypeError when int() or long() called with base argument only. 13 years ago
Benjamin Peterson 513762fe9c use more specific type 13 years ago
Andrew Svetlov 4de2924dab Fix compilation error for #15422 13 years ago
Gregory P. Smith a689e524e7 Test for issue16772 and redoes the previous fix to accept __index__-aware 13 years ago
Gregory P. Smith 4fbbf8c0a3 Fixes issue #16772: int() constructor second argument (base) must be an int. 13 years ago
Andrew Svetlov 3ba3a3ee56 Issue #15422: get rid of PyCFunction_New macro 13 years ago
Andrew Svetlov 2cd8ce4690 Issue #9856: Replace deprecation warinigs to raising TypeError in object.__format__ 13 years ago
Benjamin Peterson 5ff3f73d94 try to call __bytes__ before __index__ (closes #16722) 13 years ago
Andrew Svetlov 2606a6f197 Issue #16719: Get rid of WindowsError. Use OSError instead 13 years ago
Antoine Pitrou 928405303d Following issue #13390, fix compilation --without-pymalloc, and make sys.getallocatedblocks() return 0 in that situation. 13 years ago
Gregory P. Smith a6be61ec71 Keep y a Py_hash_t instead of Py_uhash_t as it is compared with == -1 and the 13 years ago
Gregory P. Smith 27cbcd6241 Fix the internals of our hash functions to used unsigned values during hash 13 years ago
Antoine Pitrou f9d0b1256f Issue #13390: New function :func:`sys.getallocatedblocks()` returns the number of memory blocks currently allocated. 13 years ago
Antoine Pitrou 62a0d6ea40 Issue #16602: When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero. 13 years ago
Antoine Pitrou d38c990bb7 Issue #16602: When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero. 13 years ago
Chris Jerdonek e7f2186f99 Issue #16495: remove extraneous NULL encoding check from bytes_decode(). 13 years ago
Victor Stinner 8dbd421b4d Cleanup unicodeobject.c 13 years ago
Victor Stinner d45c7f8d74 Issue #16455: On FreeBSD and Solaris, if the locale is C, the 13 years ago
Victor Stinner 27b1ca29cc Issue #16416: On Mac OS X, operating system data are now always 13 years ago
Antoine Pitrou 0e9958b543 Issue #16562: Optimize dict equality testing. 13 years ago
Christian Heimes 5f7e8dab11 Issue #16592: stringlib_bytes_join doesn't raise MemoryError on allocation failure 13 years ago
Antoine Pitrou 6d5ad227a5 Issue #16215: Fix potential double memory free in str.replace(). 14 years ago
Mark Dickinson 115bc79df8 Issue #9742: Sneaky fix for build failure on Solaris 9. 14 years ago
Antoine Pitrou e3ae321222 Issue #15379: Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings). 14 years ago
Mark Dickinson ffdb2c21b3 Issue #16451: Refactor to remove duplication between range and slice in slice index computations. 14 years ago
Mark Dickinson d20fb82195 Issue #16290: __complex__ must now always return an instance of complex. 14 years ago
Victor Stinner 0d92c4f667 Issue #16416: Fix error handling in _Py_wchar2char() _Py_char2wchar() functions 14 years ago
Antoine Pitrou b704eab599 Issue #16453: Fix equality testing of dead weakref objects. 14 years ago
Antoine Pitrou e11fecb5a9 Issue #16453: Fix equality testing of dead weakref objects. 14 years ago
Mark Dickinson c8a6967ea8 Issue #14794: slice.indices no longer returns OverflowError for out-of-range start, stop, step or length. 14 years ago
Victor Stinner fc009eff9e Close #16311: Use the _PyUnicodeWriter API in text decoders 14 years ago
Victor Stinner ab60de478d Issue #8271: Fix compilation on Windows 14 years ago
Ezio Melotti f7ed5d111b #8271: the utf-8 decoder now outputs the correct number of U+FFFD characters when used with the "replace" error handler on invalid utf-8 sequences. Patch by Serhiy Storchaka, tests by Ezio Melotti. 14 years ago
Mark Dickinson 8cd1c7681d Issue #16402: In range slicing, fix shadowing of exceptions from __index__ method. 14 years ago
Christian Heimes 6d26ade920 Fix compilation on Windows 14 years ago
Christian Heimes 146a5fead2 Fix compilation on Windows 14 years ago
Ezio Melotti c64bcbec4b #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an error. 14 years ago
Ezio Melotti 67dc4a87fc #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an error. 14 years ago
Stefan Krah 4af77a0276 Issue #15814: Use hash function that is compatible with the equality 14 years ago
Benjamin Peterson 9892f52145 avoid a function call with redundant checks for dict size 14 years ago