summaryrefslogtreecommitdiff
path: root/Objects/unicodeobject.c
AgeCommit message (Expand)AuthorLines
2007-12-02Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases i...Christian Heimes-34/+34
2007-11-28Added view and iterator types to collections / _abcollChristian Heimes-1/+1
2007-11-27#1496: revert str.translate() to the old version, and addGeorg Brandl-46/+104
2007-11-23CleanupChristian Heimes-1/+0
2007-11-22Removed blocks from several functions in unicodeobject and stringobject where...Christian Heimes-36/+9
2007-11-21Rename buffer -> bytearray.Guido van Rossum-1/+1
2007-11-20Merged revisions 59056-59076 via svnmerge fromChristian Heimes-2/+19
2007-11-18Merged revisions 59005-59040 via svnmerge fromChristian Heimes-32/+16
2007-11-15Replace PyObject_Unicode with PyObject_Str everywhere, and remove theThomas Heller-6/+6
2007-11-06Merging the py3k-pep3137 branch back into the py3k branch.Guido van Rossum-131/+94
2007-11-04Fixed a bug in PyUnicode_DecodeFSDefault. strcmp() returns 0 on success.Christian Heimes-4/+8
2007-11-01Merged revisions 58221-58741 via svnmerge fromGuido van Rossum-3/+6
2007-10-25Patch # 1302 by Christian Heimes (with some love from me :-).Guido van Rossum-12/+39
2007-10-24Fix a broken format in a PyErr_Format() call: %lx is not supported.Guido van Rossum-1/+1
2007-10-23Patch #1071: Improve unicode.translate() so that you can pass unicodeGeorg Brandl-4/+48
2007-10-22Make str/str8 comparisons return True/False for !=/==.Brett Cannon-10/+0
2007-10-16Patch# 1258 by Christian Heimes: kill basestring.Guido van Rossum-2/+2
2007-10-16Fix a small typo in the comment of unicode_default_encoding[].Alexandre Vassalotti-1/+1
2007-10-15Patch #1272, by Christian Heimes and Alexandre Vassalotti.Guido van Rossum-1/+34
2007-10-14Remove the buffer API from PyUnicode as specified by PEP 3137. Also,Alexandre Vassalotti-15/+1
2007-10-13Eliminate use of PyBUF_CHARACTER flag which is no longer part of the buffer i...Travis E. Oliphant-4/+0
2007-10-08Delete bufferobject.[ch].Guido van Rossum-1/+5
2007-09-27Patch # 1145 by Thomas Lee:Guido van Rossum-7/+13
2007-09-23Change PyBuffer to Py_buffer to be consistent with other non-object structure...Travis E. Oliphant-1/+1
2007-09-18Optimize unicode_hash() by not callingGuido van Rossum-12/+18
2007-09-18Micro optimizations after staring at gprof output for a while.Guido van Rossum-3/+4
2007-09-07Restore caching of unicode hash value. This apparently was brokenNeil Schemenauer-5/+12
2007-08-31Removed unicode_format and unicode__format__, they just called through to oth...Eric Smith-19/+2
2007-08-31Per Georg's suggestion, get rid of str.decode() (which always raises anGuido van Rossum-19/+0
2007-08-31Change %s argument for PyUnicode_FromFormat toMartin v. Löwis-2/+46
2007-08-30Remove the simple slicing API. All slicing is now done with slice objects.Thomas Wouters-23/+1
2007-08-30Set startinpos before calling the error handler.Walter Dörwald-0/+1
2007-08-30Rewrap line.Walter Dörwald-1/+2
2007-08-29Oops, remove an abort() I put in for debugging.Guido van Rossum-1/+0
2007-08-29Add PyUnicode_AsStringAndSize(), which is like PyUnicode_AsString() butGuido van Rossum-4/+14
2007-08-29Commit strict str/bytes distinction.Guido van Rossum-50/+5
2007-08-28Merge the trunk changes in. Breaks socket.ssl for now.Thomas Wouters-0/+6
2007-08-27Moved fieldnameiterator and formatteriterator to stringlib/string_format.h, s...Eric Smith-343/+2
2007-08-27Cleanup in anticipation of moving formatteriterator and fieldnameiterator int...Eric Smith-2/+2
2007-08-27There should be no codecs left that return str8 intead of bytes.Guido van Rossum-7/+1
2007-08-27Fixed accidental indentation change.Eric Smith-1/+1
2007-08-27PEP 3101: Removed _formatter_xxx routines from sysmodule, and made them unico...Eric Smith-337/+344
2007-08-27Fix refleaks in test_unicode and test_string related to the new format code.Neal Norwitz-30/+20
2007-08-26PEP 3101: Completed string.Formatter class. Reimplemented field_name to obje...Eric Smith-8/+157
2007-08-26Restore an assert, but move it to the proper place.Neal Norwitz-1/+1
2007-08-26Remove assert that seems out of place. It triggers with test_string,Neal Norwitz-2/+0
2007-08-25Implementation of PEP 3101, Advanced String Formatting.Eric Smith-15/+231
2007-08-25Since PyUnicode_AsString is a public API, don't just assert, but doNeal Norwitz-1/+4
2007-08-18Merged in py3k-buffer branch to main line. All objects now use the buffer pr...Travis E. Oliphant-48/+15
2007-08-17Move some declarations before code, to compile with GCC 2.95.Guido van Rossum-7/+7