Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
e549ead8263819ac47f60cdd0239592750888f0b
/
Lib
/
test
/
test_codecs.py
81fabdb
Issue #4874: Most builtin decoders now reject unicode input.
by Antoine Pitrou
· 16 years ago
616d285
Issue #2394: implement more of the memoryview API.
by Antoine Pitrou
· 16 years ago
ee8712c
#2621 rename test.test_support to test.support
by Benjamin Peterson
· 16 years ago
5d14c2b
Merged revisions 59056-59076 via svnmerge from
by Christian Heimes
· 17 years ago
87c0f1d
Merged revisions 59041-59055 via svnmerge from
by Guido van Rossum
· 17 years ago
98297ee
Merging the py3k-pep3137 branch back into the py3k branch.
by Guido van Rossum
· 17 years ago
3172c5d
Patch# 1258 by Christian Heimes: kill basestring.
by Guido van Rossum
· 17 years ago
04c70ad
Fix the one failing test (can't decode twice).
by Guido van Rossum
· 17 years ago
09549f4
Changes in anticipation of stricter str vs. bytes enforcement.
by Guido van Rossum
· 17 years ago
41980ca
Apply SF patch #1775604: This adds three new codecs (utf-32, utf-32-le and
by Walter Dörwald
· 17 years ago
2233d27
Change readbuffer_encode() and charbuffer_encode() to return bytes objects.
by Walter Dörwald
· 17 years ago
32a4c71
Patch by Ron Adam: Don't use u prefix in unicode error messages
by Walter Dörwald
· 17 years ago
42748a8
Rip out all codecs that can't work in a unicode/bytes world:
by Walter Dörwald
· 17 years ago
092a225
Fix tests for unicode-internal codec.
by Walter Dörwald
· 17 years ago
f4cfc8f
Make test_codecs work. The CJK codecs now use bytes instead of str8 for
by Guido van Rossum
· 17 years ago
583118a
Fix tests for string encodings.
by Walter Dörwald
· 17 years ago
9d2ac22
Fix io.StringIO: String are stored encoded (using "unicode-internal" as the
by Walter Dörwald
· 17 years ago
0ac30f8
Enhance the punycode decoder so that it can decode unicode objects.
by Walter Dörwald
· 17 years ago
c3ab0a7
Use io.BytesIO instead of StringIO.StringIO in all
by Walter Dörwald
· 17 years ago
a4c6128
Fix punycode codec and tests.
by Walter Dörwald
· 17 years ago
5c4501a
Don't insist on cStringIO.
by Guido van Rossum
· 17 years ago
805365e
Merged revisions 55007-55179 via svnmerge from
by Guido van Rossum
· 17 years ago
ca8a8d0
Make the BOM constants in codecs.py bytes.
by Walter Dörwald
· 18 years ago
ef87d6e
Rip out all the u"..." literals and calls to unicode().
by Guido van Rossum
· 18 years ago
3abcb01
Apply SF patch #1698994: Add getstate() and setstate()
by Walter Dörwald
· 18 years ago
be19ed7
Fix most trivially-findable print statements.
by Guido van Rossum
· 18 years ago
b940e11
SF patch 1631942 by Collin Winter:
by Guido van Rossum
· 18 years ago
89f507f
Four months of trunk changes (including a few releases...)
by Thomas Wouters
· 18 years ago
0e3f591
Merged revisions 46753-51188 via svnmerge from
by Thomas Wouters
· 18 years ago
49fd7fa
Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
by Thomas Wouters
· 19 years ago
a977329
Merge part of the trunk changes into the p3yk branch. This merges from 43030
by Thomas Wouters
· 19 years ago
ca19943
If size is specified, try to read at least size characters.
by Walter Dörwald
· 19 years ago
412ed3b
Patch #1177307: UTF-8-Sig codec.
by Martin v. Löwis
· 19 years ago
690402f
Add tests to increase code coverage in Python/codecs.c and Python/exceptions.c.
by Walter Dörwald
· 19 years ago
e22d339
Add tests for various error cases and for readbuffer_encode() and
by Walter Dörwald
· 19 years ago
d1c1e10
Part of SF patch #1313939: Speedup charmap decoding by extending
by Walter Dörwald
· 19 years ago
a47d1c0
SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complain
by Walter Dörwald
· 19 years ago
8b59514
Make IDNA return an empty string when the input is empty. Fixes #1163178.
by Martin v. Löwis
· 19 years ago
c9878e1
Make attributes and local variables in the StreamReader str objects instead
by Walter Dörwald
· 19 years ago
43148c8
Update test to the current readline() behaviour.
by Walter Dörwald
· 20 years ago
7a6dc13
Fix for SF bug #1175396: readline() will now read one more character, if
by Walter Dörwald
· 20 years ago
729c31f
Reset internal buffers when seek() is called. This fixes SF bug #1156259.
by Walter Dörwald
· 20 years ago
a9620d1
Fix stupid typo: Don't read from a writer.
by Walter Dörwald
· 20 years ago
1f1d252
Add a test for UTF-16 reading where the byte sequence doesn't start with a BOM.
by Walter Dörwald
· 20 years ago
9fa0946
Fix and test for SF bug #1098990: codec readline() splits lines apart.
by Walter Dörwald
· 20 years ago
ee1d247
Add a test that checks the basic functionality of every encoding.
by Walter Dörwald
· 20 years ago
e57d7b1
The changes to the stateful codecs in 2.4 resulted in StreamReader.readline()
by Walter Dörwald
· 20 years ago
063e1e8
Trigger a few error cases in Modules/_codecsmodule.c.
by Walter Dörwald
· 20 years ago
af5c7cf
SF #1048865: Fix a trivial typo that breaks StreamReader.readlines()
by Hye-Shik Chang
· 20 years ago
6965203
SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support
by Walter Dörwald
· 20 years ago
3f41974
Add generic codecs.encode() and .decode() APIs that don't impose
by Marc-André Lemburg
· 20 years ago
27f8836
Whitespace normalization.
by Tim Peters
· 20 years ago
a1dde13
Add test case for unicode(somestring, "idna").
by Martin v. Löwis
· 21 years ago
21d3a32
Combine the functionality of test_support.run_unittest()
by Walter Dörwald
· 22 years ago
0eadaac
Whitespace normalization.
by Tim Peters
· 22 years ago
b5c4b7b
Skip nameprep test 3.43, as we do allow unassigned characters. The test
by Martin v. Löwis
· 22 years ago
2548c73
Implement IDNA (Internationalized Domain Names in Applications).
by Martin v. Löwis
· 22 years ago
29273c8
Fix for [ 543344 ] Interpreter crashes when recoding; suggested
by Marc-André Lemburg
· 22 years ago
8709a42
Check whether a string resize is necessary at the end
by Walter Dörwald
· 22 years ago
04f357c
Get rid of relative imports in all unittests. Now anything that
by Barry Warsaw
· 22 years ago
2e2be37
Change the PyUnit-based tests to use the test_main() approach. This
by Fred Drake
· 23 years ago
a37171d
Test by Martin v. Loewis for the new UTF-16 codec handling of BOM marks.
by Marc-André Lemburg
· 23 years ago