575 Commits (bbe2f60b3c19ecaa02ca07be14474eaacfcb59a0)

Author SHA1 Message Date
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
Benjamin Peterson 8f67d0893f make hashes always the size of pointers; introduce Py_hash_t #9778 15 years ago
Georg Brandl ded5acf34a Merged revisions 81936 via svnmerge from 15 years ago
Victor Stinner 168e117e0a Add an optional size argument to _Py_char2wchar() 15 years ago
Victor Stinner f3170ccef8 Use locale encoding if Py_FileSystemDefaultEncoding is not set 15 years ago
Georg Brandl 66c221e993 #9418: first step of moving private string methods to _string module. 15 years ago
Victor Stinner beb4135b8c PyUnicode_AsWideCharString() takes a PyObject*, not a PyUnicodeObject* 16 years ago
Victor Stinner 5593d8aeb4 Issue #8670: PyUnicode_AsWideChar() and PyUnicode_AsWideCharString() replace 16 years ago
Victor Stinner 1c24bd0252 Issue #8870: PyUnicode_AsWideCharString() doesn't count the trailing nul character 16 years ago
Victor Stinner 71e91a358b Fix PyUnicode_AsWideCharString(): set *size if size is not NULL 16 years ago
Victor Stinner c39211f51e Issue #9630: Redecode filenames when setting the filesystem encoding 16 years ago
Victor Stinner 137c34c027 Issue #9979: Create function PyUnicode_AsWideCharString(). 16 years ago