1170 Commits (f28fa66351fe93b3fcdc98c7f35f05573ea93df2)

Author SHA1 Message Date
Walter Dörwald 065a32f550 Make the hint about the None default less ambiguous. 22 years ago
Walter Dörwald 782afc5927 Enhance the docstrings for unicode.split() and string.split() 22 years ago
Walter Dörwald 69652035bc SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support 22 years ago
Tim Peters 91879ab8ea PyUnicode_Join(): Bozo Alert. While this is chugging along, it may 22 years ago
Tim Peters 05eba1fdc8 PyUnicode_Join(): Rewrote to use PySequence_Fast(). This doesn't do 22 years ago
Tim Peters 894c512c2f PyUnicode_Join(): Missed a spot where I intended a cast from size_t to 22 years ago
Tim Peters 8ce9f16259 PyUnicode_Join(): Two primary aims: 22 years ago
Hye-Shik Chang e9ddfbb412 SF #989185: Drop unicode.iswide() and unicode.width() and add 22 years ago
Marc-André Lemburg d25c650461 Let u'%s' % obj try obj.__unicode__() first and fallback to obj.__str__(). 22 years ago
Nicholas Bastin 9ba301e589 Moved SunPro warning suppression into pyport.h and out of individual 22 years ago
Marc-André Lemburg 126b44cd41 Fix a copy&paste typo. 22 years ago
Marc-André Lemburg 1dffb120b7 .encode()/.decode() patch part 2. 22 years ago
Marc-André Lemburg d2d4598ec2 Allow string and unicode return types from .encode()/.decode() 22 years ago
Nicholas Bastin 1ce9e4cfc1 Fixed end-of-loop code not reached warning when using SunPro C 22 years ago
Hye-Shik Chang 974ed7cfa5 - SF #962502: Add two more methods for unicode type; width() and 22 years ago
Hye-Shik Chang 4057483164 SF Patch #926375: Remove a useless UTF-16 support code that is never 22 years ago
Walter Dörwald cd736e71a3 Fix reallocation bug in unicode.translate(): The code was comparing 23 years ago
Hye-Shik Chang 1bc09b7c2a Cosmetic fix for wrongly indented tabs with ts=4. 23 years ago
Hye-Shik Chang 7fc4cf57b8 Fix unicode.rsplit()'s bug that ignores separater on the end of string when 23 years ago
Hye-Shik Chang 40e9509dc7 Fix broken xmlcharrefreplace by rev 2.204. 23 years ago
Hye-Shik Chang 4a264fb054 SF #859573: Reduce compiler warnings on gcc 3.2 and above. 23 years ago
Hye-Shik Chang 3ae811b57d Add rsplit method for str and unicode builtin types. 23 years ago
Guido van Rossum 6c9e130524 - Removed FutureWarnings related to hex/oct literals and conversions 23 years ago
Raymond Hettinger 4f8f976576 Add optional fillchar argument to ljust(), rjust(), and center() string methods. 23 years ago
Walter Dörwald 4894c30626 Fix a bug in the memory reallocation code of PyUnicode_TranslateCharmap(). 23 years ago
Martin v. Löwis 6828e18a6a Patch #825679: Clarify semantics of .isfoo on empty strings. 23 years ago
Jeremy Hylton 504de6bd2c Fix for SF bug [ 817156 ] invalid \U escape gives 0=length unistr. 23 years ago
Tim Peters ced69f8a20 On c.l.py, Martin v. Löwis said that Py_UNICODE could be of a signed type, 23 years ago
Jeremy Hylton d808279be3 Double-fix of crash in Unicode freelist handling. 23 years ago
Jeremy Hylton deb2dc6658 Change checks of PyUnicode_Resize() return value for clarity. 23 years ago
Raymond Hettinger 9bfe533c69 SF bug #795506: Wrong handling of string format code for float values. 23 years ago
Walter Dörwald 150523efa5 Fix refcounting leak in charmaptranslate_lookup() 23 years ago
Walter Dörwald 9b30f206ee Fix another refcounting leak in PyUnicode_EncodeCharmap(). 23 years ago
Walter Dörwald d4ade0885c Fix another refcounting leak (in PyUnicode_DecodeUnicodeEscape()). 23 years ago
Walter Dörwald e5402fb340 Fix refcount leak in PyUnicode_EncodeCharmap(). The bug surfaces 23 years ago
Mark Hammond 0ccda1ee10 Support 'mbcs' as a 'built-in' encoding, so the C API can use it without 23 years ago
Raymond Hettinger f466793fcc SF patch 703666: Several objects don't decref tmp on failure in subtype_new 23 years ago
Martin v. Löwis 9a3a9f7791 Consider \U-escapes in raw-unicode-escape. Fixes #444514. 23 years ago
Neal Norwitz ffe33b7f24 Attempt to make all the various string *strip methods the same. 23 years ago
Guido van Rossum a7132189d2 Reformat a few docstrings that caused line wraps in help() output. 23 years ago
Walter Dörwald 44f527fea4 Change formatchar(), so that u"%c" % 0xffffffff now raises 24 years ago
Raymond Hettinger c8df5780e1 Sf patch #700047: unicode object leaks refcount on resizing 24 years ago
Neal Norwitz ec74f2fda7 Add more missing PyErr_NoMemory() after failled memory allocs 24 years ago
Walter Dörwald f6b56aecad Fix two refcounting bugs 24 years ago
Walter Dörwald 2e0b18af30 Change the treatment of positions returned by PEP293 24 years ago
Guido van Rossum 5d9113d8be Implement appropriate __getnewargs__ for all immutable subclassable builtin 24 years ago
Walter Dörwald adc727490b Fix charmapencode_lookup(), so that a None value in the mapping 24 years ago
Walter Dörwald 034d97605d Remove variable owned from PyUnicode_FromEncodedObject, which is unused 24 years ago
Marc-André Lemburg 79f57833f3 Patch for bug #659709: bogus computation of float length 24 years ago
Neil Schemenauer ce30bc9f49 Add nb_remainder (i.e. __mod__) slot to unicode type. Fixes SF bug #615506. 24 years ago