4489 Commits (20190e2d54e6d513bb197a160cdfd236bf63f168)

Author SHA1 Message Date
Serhiy Storchaka 4f5f0e54e0 Issue #16335: Fix integer overflow in unicode-escape decoder. 13 years ago
Serhiy Storchaka 441d30fac7 Issue #15989: Fix several occurrences of integer overflow 13 years ago
Serhiy Storchaka 4fb8caee87 Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping" 13 years ago
Serhiy Storchaka 18ba40b945 Check for NULL before the pointer aligning in fastsearch_memchr_1char. 13 years ago
Serhiy Storchaka 7898043868 Issue #15989: Fix several occurrences of integer overflow 13 years ago
Benjamin Peterson 0c270a8bb7 correct static string clearing loop (closes #16906) 13 years ago
Serhiy Storchaka 48e188e573 Issue #11461: Fix the incremental UTF-16 decoder. Original patch by 13 years ago
Serhiy Storchaka dec798eb46 Fix out of bound read in UTF-32 decoder on "narrow Unicode" builds. 13 years ago
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
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(). 13 years ago
Mark Dickinson 115bc79df8 Issue #9742: Sneaky fix for build failure on Solaris 9. 13 years ago
Antoine Pitrou e3ae321222 Issue #15379: Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings). 13 years ago
Mark Dickinson ffdb2c21b3 Issue #16451: Refactor to remove duplication between range and slice in slice index computations. 13 years ago
Mark Dickinson d20fb82195 Issue #16290: __complex__ must now always return an instance of complex. 13 years ago
Victor Stinner 0d92c4f667 Issue #16416: Fix error handling in _Py_wchar2char() _Py_char2wchar() functions 13 years ago
Antoine Pitrou b704eab599 Issue #16453: Fix equality testing of dead weakref objects. 13 years ago
Antoine Pitrou e11fecb5a9 Issue #16453: Fix equality testing of dead weakref objects. 13 years ago
Mark Dickinson c8a6967ea8 Issue #14794: slice.indices no longer returns OverflowError for out-of-range start, stop, step or length. 13 years ago
Victor Stinner fc009eff9e Close #16311: Use the _PyUnicodeWriter API in text decoders 13 years ago
Victor Stinner ab60de478d Issue #8271: Fix compilation on Windows 13 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. 13 years ago
Mark Dickinson 8cd1c7681d Issue #16402: In range slicing, fix shadowing of exceptions from __index__ method. 13 years ago
Christian Heimes 6d26ade920 Fix compilation on Windows 13 years ago
Christian Heimes 146a5fead2 Fix compilation on Windows 13 years ago