Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
7451a72e2ba8939215324387e36285725632e637
/
Lib
/
test
/
test_codecs.py
799fd9c
Add tests for raw-unicode-escape codec.
by Serhiy Storchaka
· 12 years ago
c9c4338
Add tests for raw-unicode-escape codec.
by Serhiy Storchaka
· 12 years ago
db6add7
Clean up escape-decode decoder tests.
by Serhiy Storchaka
· 12 years ago
077cb34
Clean up escape-decode decoder tests.
by Serhiy Storchaka
· 12 years ago
24193de
Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.
by Serhiy Storchaka
· 12 years ago
d679377
Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.
by Serhiy Storchaka
· 12 years ago
e58785b
Issue #16975: Fix error handling bug in the escape-decode bytes decoder.
by Serhiy Storchaka
· 12 years ago
ace3ad3
Issue #16975: Fix error handling bug in the escape-decode bytes decoder.
by Serhiy Storchaka
· 12 years ago
45d16d9
Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
by Serhiy Storchaka
· 12 years ago
4fb8cae
Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
by Serhiy Storchaka
· 12 years ago
5d3dba0
#16918: test_codecs now works with unittest test discovery. Patch by Zachary Ware.
by Ezio Melotti
· 12 years ago
e0b87ed
Merge fix for broken/disabled test.
by Ezio Melotti
· 12 years ago
26ed234
Enable a broken test and fix it.
by Ezio Melotti
· 12 years ago
ae3b32a
Issue #11461: Fix the incremental UTF-16 decoder. Original patch by
by Serhiy Storchaka
· 12 years ago
48e188e
Issue #11461: Fix the incremental UTF-16 decoder. Original patch by
by Serhiy Storchaka
· 12 years ago
a0b5c46
#16336: merge with 3.2.
by Ezio Melotti
· 12 years ago
540da76
#16336: fix input checking in the surrogatepass error handler. Patch by Serhiy Storchaka.
by Ezio Melotti
· 12 years ago
5f9459f
merge with 3.2
by Philip Jenvey
· 12 years ago
45c4149
bounds check for bad data (thanks amaury)
by Philip Jenvey
· 12 years ago
a1f7655
Issue #15379: Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings).
by Antoine Pitrou
· 12 years ago
6f80f5d
Issue #15379: Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings).
by Antoine Pitrou
· 12 years ago
5e36edb
Port additional tests from #14579 (the issue is already fixed).
by Antoine Pitrou
· 12 years ago
b4bbee2
Issue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after error handling.
by Antoine Pitrou
· 12 years ago
e3b4715
Write tests for invalid characters (U+00110000)
by Victor Stinner
· 13 years ago
adc417c
#13406: fix more deprecation warnings and move the deprecation of unicode-internal earlier in the code.
by Ezio Melotti
· 13 years ago
345379a
#13406: correct the error message in check_warnings too.
by Ezio Melotti
· 13 years ago
11060a4
#13406: silence deprecation warnings in test_codecs.
by Ezio Melotti
· 13 years ago
040e16e
"unicode_internal" codec has been deprecated: fix related tests
by Victor Stinner
· 13 years ago
76a31a6
Cleanup decode_code_page_stateful() and encode_code_page()
by Victor Stinner
· 13 years ago
2f3ca9f
Close #13247: Add cp65001 codec, the Windows UTF-8 (CP_UTF8)
by Victor Stinner
· 13 years ago
9e92188
Issue #12281: Fix test_codecs.test_cp932() on Windows XP
by Victor Stinner
· 13 years ago
62be4fb
Issue #12281: Skip code page tests on non-Windows platforms
by Victor Stinner
· 13 years ago
3a50e70
Issue #12281: Rewrite the MBCS codec to handle correctly replace and ignore
by Victor Stinner
· 13 years ago
00b2c86
Fix text failures when ctypes is not available
by Antoine Pitrou
· 13 years ago
182d90d
Fix test_codecs for Windows: check size of wchar_t, not sys.maxunicode
by Victor Stinner
· 13 years ago
d63a3b8
Implement PEP 393.
by Martin v. Löwis
· 13 years ago
2a20f9b
Backport 0398f07d4827 (fix for weird buildbot failures)
by Antoine Pitrou
· 13 years ago
d05066d
Try to fix weird buildbot failures
by Antoine Pitrou
· 13 years ago
5a24d82
Add a test for issue #1813: getlocale() failing under a Turkish locale
by Antoine Pitrou
· 13 years ago
cf9d3c0
Issue #1813: Fix codec lookup under Turkish locales.
by Antoine Pitrou
· 13 years ago
0501070
Revert my commit 3555cf6f9c98: "Issue #8796: codecs.open() calls the builtin
by Victor Stinner
· 13 years ago
98fe1a0
Issue #8796: codecs.open() calls the builtin open() function instead of using
by Victor Stinner
· 13 years ago
d688170
Merge 3.2
by Victor Stinner
· 13 years ago
b43dd4b
Merge 3.1
by Victor Stinner
· 13 years ago
2cca057
test_codecs now removes the temporay file (created by the test)
by Victor Stinner
· 13 years ago
8f36af7
Normalize the encoding names for Latin-1 and UTF-8 to 'latin-1' and 'utf-8'.
by Marc-André Lemburg
· 14 years ago
28a4dce
remove (un)transform methods
by Benjamin Peterson
· 14 years ago
53a9dd7
Issue #10546: UTF-16-LE and UTF-16-BE *do* support non-BMP characters
by Victor Stinner
· 14 years ago
0252462
#7475: add (un)transform method to bytes/bytearray and str, add back codecs that can be used with them from Python 2.
by Georg Brandl
· 14 years ago
19f2aeb
Merged revisions 86596 via svnmerge from
by Ezio Melotti
· 14 years ago
b3aedd4
#9424: Replace deprecated assert* methods in the Python test suite.
by Ezio Melotti
· 14 years ago
5a6214a
Merged revisions 81499,81506 via svnmerge from
by Benjamin Peterson
· 14 years ago
554f3f0
Issue #850997: mbcs encoding (Windows only) handles errors argument: strict
by Victor Stinner
· 14 years ago
6107a68
Merged revisions 81908 via svnmerge from
by Antoine Pitrou
· 14 years ago
cc0cfd3
Merged revisions 81907 via svnmerge from
by Antoine Pitrou
· 14 years ago
ddf0d03
Merged revisions 79780 via svnmerge from
by Philip Jenvey
· 14 years ago
3dcb5ac
Issue #8838, #8339: Remove codecs.charbuffer_encode() and "t#" parsing format
by Victor Stinner
· 14 years ago
b64d0eb
Merged revisions 81474 via svnmerge from
by Victor Stinner
· 14 years ago
a92ad7e
Merged revisions 81471-81472 via svnmerge from
by Victor Stinner
· 14 years ago
37b8200
Merged revisions 81461 via svnmerge from
by Victor Stinner
· 14 years ago
3fed087
Merged revisions 81459 via svnmerge from
by Victor Stinner
· 14 years ago
158701d
Merged revisions 80382 via svnmerge from
by Victor Stinner
· 14 years ago
31be90b
Issue #8092: Fix PyUnicode_EncodeUTF8() to support error handler producing
by Victor Stinner
· 14 years ago
66a1bd5
Merged revisions 79779 via svnmerge from
by Philip Jenvey
· 14 years ago
e36b2c6
Recorded merge of revisions 78462,78484 via svnmerge from
by Florent Xicluna
· 15 years ago
c1c415f
Merged revisions 78461 via svnmerge from
by Florent Xicluna
· 15 years ago
e961593
Merged revisions 77727 via svnmerge from
by Ezio Melotti
· 15 years ago
7b10c9f
Merged revisions 74871 via svnmerge from
by Georg Brandl
· 15 years ago
791f4e1
Merged revisions 74869 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk
by Georg Brandl
· 15 years ago
ab91fde
Merged revisions 73715 via svnmerge from
by Georg Brandl
· 15 years ago
c9c0f20
convert old fail* assertions to assert*
by Benjamin Peterson
· 15 years ago
e5344d6
Merged revisions 73698 via svnmerge from
by Amaury Forgeot d'Arc
· 15 years ago
84ec8d9
#6373: SystemError in str.encode('latin1', 'surrogateescape')
by Amaury Forgeot d'Arc
· 15 years ago
43c5778
Rename utf8b error handler to surrogateescape.
by Martin v. Löwis
· 15 years ago
e0a2b72
Rename the surrogates error handler to surrogatepass.
by Martin v. Löwis
· 15 years ago
8dc33d5
Merged revisions 72404-72406 via svnmerge from
by Walter Dörwald
· 15 years ago
011e842
Issue #5915: Implement PEP 383, Non-decodable Bytes in
by Martin v. Löwis
· 15 years ago
db12d45
Issue #3672: Reject surrogates in utf-8 codec; add surrogates error handler.
by Martin v. Löwis
· 15 years ago
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
Next »