summaryrefslogtreecommitdiff
path: root/Lib/codecs.py
AgeCommit message (Expand)AuthorLines
2010-12-02#7475: add (un)transform method to bytes/bytearray and str, add back codecs t...Georg Brandl-10/+13
2010-05-22Merged revisions 81471-81472 via svnmerge fromVictor Stinner-3/+10
2010-05-22Merged revisions 81459 via svnmerge fromVictor Stinner-0/+4
2008-03-18Make TextIOWrapper's seek/tell work properly with stateful decoders;Ka-Ping Yee-9/+16
2008-03-17Document the expected convention for getstate() (as explained to me by Guido).Ka-Ping Yee-1/+3
2007-12-02#1535: rename __builtin__ module to builtins.Georg Brandl-2/+2
2007-05-04Make the BOM constants in codecs.py bytes.Walter Dörwald-11/+11
2007-05-02Rip out all the u"..." literals and calls to unicode().Guido van Rossum-1/+1
2007-04-21PEP 3114: rename .next() to .__next__() and add next() builtin.Georg Brandl-5/+5
2007-04-16Apply SF patch #1698994: Add getstate() and setstate()Walter Dörwald-11/+55
2007-01-10SF patch 1631942 by Collin Winter:Guido van Rossum-2/+2
2006-12-13Four months of trunk changes (including a few releases...)Thomas Wouters-3/+30
2006-04-21Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters-5/+31
2006-04-21Merge part of the trunk changes into the p3yk branch. This merges from 43030Thomas Wouters-11/+172
2006-03-06If size is specified, try to read at least size characters.Walter Dörwald-1/+4
2005-12-25Whitespace normalization.Tim Peters-2/+2
2005-09-18Patch #1268314: Cache lines in StreamReader.readlines for performance.Martin v. Löwis-0/+37
2005-09-01SF bug #1235646: codecs.StreamRecoder.next() now reencodes the data it readsWalter Dörwald-1/+3
2005-08-24Return complete lines from codec stream readersMartin v. Löwis-3/+17
2005-07-20Make attributes and local variables in the StreamReader str objects insteadWalter Dörwald-5/+7
2005-04-21Fix comment.Walter Dörwald-2/+2
2005-04-21If the data read from the bytestream in readline() ends in a '\r' read one moreWalter Dörwald-12/+4
2005-04-04Fix typos.Walter Dörwald-2/+2
2005-04-04Fix for SF bug #1175396: readline() will now read one more character, ifWalter Dörwald-0/+9
2005-03-16typoSkip Montanaro-1/+1
2005-03-14Add default value for "whence" argument.Walter Dörwald-1/+1
2005-03-14Reset internal buffers when seek() is called. This fixes SF bug #1156259.Walter Dörwald-1/+11
2005-03-08Build with --disable-unicode again. Fixes #1158607.Martin v. Löwis-5/+13
2005-01-10Fix and test for SF bug #1098990: codec readline() splits lines apart.Walter Dörwald-2/+2
2004-12-21The changes to the stateful codecs in 2.4 resulted in StreamReader.readline()Walter Dörwald-30/+41
2004-10-17SF #1048865: Fix a trivial typo that breaks StreamReader.readlines()Hye-Shik Chang-1/+1
2004-09-07SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now supportWalter Dörwald-41/+67
2004-02-26Ignore sizehint argument. Fixes SF #844561.Marc-André Lemburg-10/+4
2003-02-02Fix typos.Walter Dörwald-4/+4
2002-12-30sys was already imported, remove second importNeal Norwitz-2/+0
2002-12-12Patch to make _codecs a builtin module. This is necessary sinceMarc-André Lemburg-5/+15
2002-11-19Add missing documentation for the PEP 293 functionality toWalter Dörwald-7/+22
2002-11-06Add next() and __iter__() methods to StreamReader, StreamReaderWriterWalter Dörwald-0/+27
2002-09-02PEP 293 implemention (from SF patch http://www.python.org/sf/432401)Walter Dörwald-1/+12
2002-06-04Add constants BOM_UTF8, BOM_UTF16, BOM_UTF16_LE, BOM_UTF16_BE,Walter Dörwald-17/+32
2002-06-01SF 563203. Replaced 'has_key()' with 'in'.Raymond Hettinger-1/+1
2002-03-05Set default value for readlines.sizehint to None. Change needed for 2.2.1Martin v. Löwis-1/+1
2001-09-19Added new helpers for easy access to codecs. Docs will follow.Marc-André Lemburg-0/+42
2001-09-18Fix typo in commentAndrew M. Kuchling-1/+1
2001-08-02Patch #444359: Remove unused imports.Martin v. Löwis-1/+1
2001-07-31Add dead imports of modules that are "magically" imported.Martin v. Löwis-0/+6
2001-05-29Whitespace normalization.Tim Peters-1/+1
2001-05-16Moved the encoding map building logic from the individual mappingMarc-André Lemburg-0/+21
2001-05-15Just changed "x,y" to "x, y" everywhere (i.e., inserted horizontal spaceTim Peters-37/+34
2001-01-20added __all__ lists to a number of Python modulesSkip Montanaro-0/+3