summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/utf_16_be.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge part of the trunk changes into the p3yk branch. This merges from 43030Thomas Wouters2006-04-211-2/+16
| | | | | | | | | | | | (branch-creation time) up to 43067. 43068 and 43069 contain a little swapping action between re.py and sre.py, and this mightily confuses svn merge, so later changes are going in separately. This merge should break no additional tests. The last-merged revision is going in a 'last_merge' property on '.' (the branch directory.) Arbitrarily chosen, really; if there's a BCP for this, I couldn't find it, but we can easily change it afterwards ;)
* SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now supportWalter Dörwald2004-09-071-12/+8
| | | | | | | | | | | decoding incomplete input (when the input stream is temporarily exhausted). codecs.StreamReader now implements buffering, which enables proper readline support for the UTF-16 decoders. codecs.StreamReader.read() has a new argument chars which specifies the number of characters to return. codecs.StreamReader.readline() and codecs.StreamReader.readlines() have a new argument keepends. Trailing "\n"s will be stripped from the lines if keepends is false. Added C APIs PyUnicode_DecodeUTF8Stateful and PyUnicode_DecodeUTF16Stateful.
* Whitespace normalization.Tim Peters2002-08-081-2/+1
|
* Fix for bug #222395: UTF-16 et al. don't handle .readline().Marc-André Lemburg2002-04-051-1/+3
| | | | They now raise an NotImplementedError to hint to the truth ;-)
* Marc-Andre Lemburg: Unicode encodings.Guido van Rossum2000-03-101-0/+31