summaryrefslogtreecommitdiff
path: root/Lib/test/test_codecs.py
AgeCommit message (Expand)AuthorLines
2008-05-20#2621 rename test.test_support to test.supportBenjamin Peterson-3/+3
2007-11-20Merged revisions 59056-59076 via svnmerge fromChristian Heimes-1/+11
2007-11-19Merged revisions 59041-59055 via svnmerge fromGuido van Rossum-5/+48
2007-11-06Merging the py3k-pep3137 branch back into the py3k branch.Guido van Rossum-2/+4
2007-10-16Patch# 1258 by Christian Heimes: kill basestring.Guido van Rossum-2/+3
2007-08-29Fix the one failing test (can't decode twice).Guido van Rossum-1/+2
2007-08-27Changes in anticipation of stricter str vs. bytes enforcement.Guido van Rossum-7/+7
2007-08-16Apply SF patch #1775604: This adds three new codecs (utf-32, utf-32-le andWalter Dörwald-0/+140
2007-06-22Change readbuffer_encode() and charbuffer_encode() toWalter Dörwald-5/+5
2007-06-20Patch by Ron Adam: Don't use u prefix in unicode error messagesWalter Dörwald-4/+4
2007-06-12Rip out all codecs that can't work in a unicode/bytes world:Walter Dörwald-64/+0
2007-06-07Fix tests for unicode-internal codec.Walter Dörwald-13/+13
2007-05-17Make test_codecs work. The CJK codecs now use bytes instead of str8 forGuido van Rossum-5/+5
2007-05-17Fix tests for string encodings.Walter Dörwald-2/+2
2007-05-16Fix io.StringIO: String are stored encoded (using "unicode-internal" as theWalter Dörwald-4/+3
2007-05-11Enhance the punycode decoder so that it can decodeWalter Dörwald-108/+109
2007-05-10Use io.BytesIO instead of StringIO.StringIO in allWalter Dörwald-16/+16
2007-05-10Fix punycode codec and tests.Walter Dörwald-25/+28
2007-05-09Don't insist on cStringIO.Guido van Rossum-19/+20
2007-05-07Merged revisions 55007-55179 via svnmerge fromGuido van Rossum-7/+7
2007-05-04Make the BOM constants in codecs.py bytes.Walter Dörwald-73/+72
2007-05-02Rip out all the u"..." literals and calls to unicode().Guido van Rossum-230/+230
2007-04-16Apply SF patch #1698994: Add getstate() and setstate()Walter Dörwald-6/+75
2007-02-09Fix most trivially-findable print statements.Guido van Rossum-1/+1
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-1/+59
2006-08-11Merged revisions 46753-51188 via svnmerge fromThomas Wouters-0/+6
2006-04-21Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters-5/+88
2006-04-21Merge part of the trunk changes into the p3yk branch. This merges from 43030Thomas Wouters-0/+57
2006-03-06If size is specified, try to read at least size characters.Walter Dörwald-5/+9
2006-01-08Patch #1177307: UTF-8-Sig codec.Martin v. Löwis-0/+28
2005-11-17Add tests to increase code coverage in Python/codecs.c and Python/exceptions.c.Walter Dörwald-0/+19
2005-11-17Add tests for various error cases and for readbuffer_encode() andWalter Dörwald-2/+67
2005-10-06Part of SF patch #1313939: Speedup charmap decoding by extendingWalter Dörwald-1/+36
2005-08-30SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complainWalter Dörwald-1/+50
2005-08-25Make IDNA return an empty string when the input is empty. Fixes #1163178.Martin v. Löwis-0/+6
2005-07-20Make attributes and local variables in the StreamReader str objects insteadWalter Dörwald-0/+17
2005-04-21Update test to the current readline() behaviour.Walter Dörwald-0/+2
2005-04-04Fix for SF bug #1175396: readline() will now read one more character, ifWalter Dörwald-9/+82
2005-03-14Reset internal buffers when seek() is called. This fixes SF bug #1156259.Walter Dörwald-0/+15
2005-02-08Fix stupid typo: Don't read from a writer.Walter Dörwald-2/+2
2005-02-04Add a test for UTF-16 reading where the byte sequence doesn't start withWalter Dörwald-0/+9
2005-01-10Fix and test for SF bug #1098990: codec readline() splits lines apart.Walter Dörwald-0/+30
2004-12-29Add a test that checks the basic functionality of every encoding.Walter Dörwald-1/+179
2004-12-21The changes to the stateful codecs in 2.4 resulted in StreamReader.readline()Walter Dörwald-13/+80
2004-10-28Trigger a few error cases in Modules/_codecsmodule.c.Walter Dörwald-0/+14
2004-10-17SF #1048865: Fix a trivial typo that breaks StreamReader.readlines()Hye-Shik Chang-1/+12
2004-09-07SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now supportWalter Dörwald-1/+117
2004-07-10Add generic codecs.encode() and .decode() APIs that don't imposeMarc-André Lemburg-1/+11
2004-07-08Whitespace normalization.Tim Peters-1/+1