587 Commits (090f7be6dfd4e246cf5bc2db24c2070810d3c98b)

Author SHA1 Message Date
Gregory P. Smith 27cbcd6241 Fix the internals of our hash functions to used unsigned values during hash 13 years ago
Victor Stinner 27b1ca29cc Issue #16416: On Mac OS X, operating system data are now always 13 years ago
Benjamin Peterson c43112823b initialize more global type objects (closes #16369) 13 years ago
Mark Dickinson fb90c0934c Issue #14700: Fix buggy overflow checks for large precision and width in new-style and old-style formatting. 13 years ago
Chris Jerdonek 83fe2e1c22 Issue #14783: Improve int() docstring and also str(), range(), and slice(). 13 years ago
Antoine Pitrou 6f80f5d444 Issue #15379: Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings). 14 years ago
Benjamin Peterson 28a6cfaefc use the stricter PyMapping_Check (closes #15801) 14 years ago
Nick Coghlan 573b1fd779 Fix str docstring 14 years ago
Antoine Pitrou b4bbee25b1 Issue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after error handling. 14 years ago
Benjamin Peterson f6622c8a3e fix build without Py_DEBUG and DNDEBUG (closes #14509) 14 years ago
Benjamin Peterson a8755c586e kill this terribly outdated comment 14 years ago
Benjamin Peterson 69e9727657 ensure no one tries to hash things before the random seed is found 14 years ago
Georg Brandl 2daf6ae249 Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 14 years ago
Victor Stinner cbe01342bc Issue #13913: normalize utf-8 codec name in UTF-8 decoder 14 years ago
Antoine Pitrou 1334884ff2 Issue #13848: open() and the FileIO constructor now check for NUL characters in the file name. 14 years ago
Gregory P. Smith 63e6c3222f Consolidate the occurrances of the prime used as the multiplier when hashing 14 years ago
Benjamin Peterson 53aa1d7c57 fix possible if unlikely leak 14 years ago
Victor Stinner ab1d16b456 Issue #13093: Fix error handling on PyUnicode_EncodeDecimal() 14 years ago
Antoine Pitrou 5418ee0b9a Issue #13333: The UTF-7 decoder now accepts lone surrogates 14 years ago
Victor Stinner d88d9836c5 Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character 15 years ago
Ezio Melotti 93e7afc5d9 #9200: The str.is* methods now work with strings that contain non-BMP characters even in narrow Unicode builds. 15 years ago
Benjamin Peterson 7a6b44ab62 the named of the character is actually NUL 15 years ago
Benjamin Peterson 5ad517a7d9 NUL -> NULL 15 years ago
Ezio Melotti ee8d998ecf #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased non-letter characters. 15 years ago
Benjamin Peterson f413b80806 in narrow builds, make sure to test codepoints as identifier characters (closes #12732) 15 years ago
Senthil Kumaran 53516a82df Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject. 15 years ago
Senthil Kumaran 9ebe08d2f6 Fix closes issue12471 - wrong TypeError message when '%i' format spec was used. 15 years ago
Victor Stinner 3cbf14bfb1 Issue #10914: Initialize correctly the filesystem codec when creating a new 15 years ago
Ezio Melotti ba42fd5801 #6780: fix starts/endswith error message to mention that tuples are accepted too. 15 years ago
Jesus Cea ac4515063c startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828) 15 years ago
Victor Stinner 2b574a2332 Merged revisions 88697 via svnmerge from 15 years ago
Victor Stinner 659eb84457 Merged revisions 88481 via svnmerge from 15 years ago
Alexander Belopolsky b9cc00caab Removed unneeded #include 15 years ago
Benjamin Peterson 28a4dce6a8 remove (un)transform methods 15 years ago
Alexander Belopolsky 942af5a9a4 Issue #10557: Fixed error messages from float() and other numeric 15 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago
Georg Brandl 3b9406b08a Remove redundant check for PyBytes in unicode_encode. 15 years ago
Georg Brandl 02524629f3 #7475: add (un)transform method to bytes/bytearray and str, add back codecs that can be used with them from Python 2. 15 years ago
Georg Brandl e5b99f0fb3 Remove redundant includes of headers that are already included by Python.h. 15 years ago
Victor Stinner d5af0a5df0 PyUnicode_DecodeFSDefaultAndSize() raises MemoryError if _Py_char2wchar() fails 15 years ago
Victor Stinner 2f02a51135 PyUnicode_EncodeFS() raises an exception if _Py_wchar2char() fails 15 years ago
Victor Stinner c911bbfd5d str, bytes, bytearray docstring: remove unnecessary [...] 15 years ago
Victor Stinner e14e212221 Fix encode/decode method doc of str, bytes, bytearray types 15 years ago
Eric Smith 16562f41b0 Merged revisions 86277 via svnmerge from 15 years ago
Eric Smith 51d2fd983b Added more to docstrings for str.format, format_map, and __format__. 15 years ago
David Malcolm 9696088b6d Issue #10288: The deprecated family of "char"-handling macros 15 years ago
Eric Smith 27bbca6f79 Issue #6081: Add str.format_map. str.format_map(mapping) is similar to str.format(**mapping), except mapping does not get converted to a dict. 15 years ago
Victor Stinner ad15872854 Simplify PyUnicode_Encode/DecodeFSDefault on Windows/Mac OS X 15 years ago
Victor Stinner f933e1ab6f Issue #4388: On Mac OS X, decode command line arguments from UTF-8, instead of 15 years ago
Victor Stinner 9a90900da5 PyUnicode_FromFormatV(): Fix %A format 15 years ago