index
:
delta/cpython-git.git
2.7
3.10
3.11
3.4
3.5
3.6
3.7
3.7-readme-update
3.8
3.9
Mariatta-patch-1
Mariatta-patch-2
alex-patch-1
ast-new-type-comment-null-check
backport-0613c1e-3.7
backport-10654c1-3.7
backport-109d966-3.9
backport-24bcefc-3.6
backport-24bcefc-3.7
backport-24bcefc-3.8
backport-24bd50b-2.7
backport-24bd50b-3.6
backport-283f9a2-3.6
backport-51c3e28-3.10
backport-51c3e28-3.8
backport-52d1b86-3.6
backport-52f9842-3.9
backport-5a88d50-3.8
backport-5a8d121-3.5
backport-5bdab64-3.7
backport-6ec0dec-3.9
backport-704e2d3-2.7
backport-731ff68-3.6
backport-73d6002-3.7
backport-74ae50e-2.7
backport-74ae50e-3.7
backport-76b5d71-3.9
backport-8acd0e0-3.9
backport-8ed6503-3.8
backport-916610e-3.6
backport-916610e-3.7
backport-95da310-3.8
backport-adf24bd-3.8
backport-adf24bd-3.9
backport-cd16661-2.7
backport-eeab510-2.7
backport-eeab510-3.6
backport-eeab510-3.7
backport-f7955a8-3.10
backport-f7955a8-3.9
backport-ff023ed-3.8
benjamin-eval-loop-edit
benjamin-expat-2.2.6
benjamin-external-zip
benjamin-interp-initialize
benjamin-keyword-restriction
benjamin-musl-z-workaround
benjamin-pickle-overflow
benjamin-prlimit-permission-test
benjamin-pyapi
benjamin-tanh-zero
benjamin-traceback-obo
berkerpeksag-update-codeowners
bind-socket
bpo-37741-importlib-metadata-docs-visible
bpo-39107
bpo-39235-genexp-endloc
bpo-41855-backport-fix
bpo-42057
bpo-43428/importlib-metadata-3.7
bpo-43569/man-as-machine
bpo-43780/importlib_metadata-3.10
bpo-43856/importlib-metadata-new
bpo-43926/importlib-metadata-4
bpo-45419
bpo-45514/deprecate-importlib-resources-legacy
bpo-45765/metadata-distribution-empty-path
bpo-46118/resources-package
bpo-46124/zoneinfo-resources
bpo-46125/importlib-resources-test-traversable
bpo-46126/bad-error-message
bpo-46425/restore-simple-importlib-tests
bpo-46474/entrypoint-regex
bpo-46474/entrypoint-regex-fix
branch-v3.10.0
branch-v3.9.0
bugfix/16396-linux-wintypes-importable
buildbot-custom
cjw296-patch-1
constant-kind
datetime_backport_test
dependabot/github_actions/actions/cache-2.1.7
dependabot/github_actions/actions/cache-v2.1.3
dependabot/github_actions/actions/cache-v2.1.4
dependabot/github_actions/actions/cache-v2.1.5
dependabot/github_actions/actions/upload-artifact-2.3.1
dependabot/github_actions/actions/upload-artifact-v2.2.1
dependabot/github_actions/actions/upload-artifact-v2.2.2
dependabot/github_actions/actions/upload-artifact-v2.2.3
descr-howto-feedback
enum-lost-fixes
enum-private-310
ethanfurman-acks
faster-bytes-iter
feature-version
feature/42129-resources-namespace-packages
feature/putrequest-hooks
fedora-2.7
find_module-deprecation-windows
fix-cf-feature-versiob
fix-cf-feature-version
fix-cf-feature-version-38
fix-cf-feature-version-39
fix-misc-acks
fix-misc-acks-38
fix-misc-acks-sort
fix-namedexpr-comment
fix-req-type
fix-segfaults
fix-time_ns-link
fix-tok-type-comments-flag
fix-traceback-syntax-error
fixup-bpo-34003
importlib_metadata-3.3
main
master
misc-acks-comment
mp-manager-tests
ncoghlan-bpo-33499-whats-new
ncoghlan-clarify-U-mode-deprecation
ncoghlan-fix-versionchanged-note
ncoghlan-whatsnew-38-placeholder-notes
orphaned-comment
pep572
pipelines-badge-3.6
pipelines-readme-3.7
pr_18370
pr_27789
pr_4170
print-statement
readme-update
refactor-lambda-parameters
revert-10245-msix
revert-10341-patch-7
revert-11293-bpo35565
revert-11318-fast-enum
revert-11341-bpo35603
revert-11477-backport-cbb1645-3.6
revert-11482-backport-cbb1645-2.7
revert-13569-undo-ea2b76bdc5f97f49701213d105b8ec2387ea2fa5
revert-13599-codeowner
revert-13893-fix-issue-37193
revert-14522-remove_unused_imports37
revert-15687-backport-87bd207-3.7
revert-15895-named_tuple_concept
revert-16839-backport-5a88d50-3.8
revert-17659-utf8-buffer
revert-17774-issue27973-win-fix
revert-19108-remove-cElementTree
revert-22049-bpo-1635741-signalmodule
revert-22513-update_test_codecs
revert-22997-tempfile-overhead
revert-23107-revert-13893-fix-issue-37193
revert-23398-bpo-1635741-struct
revert-23827-backport-dcc997c-3.9
revert-23828-backport-dcc997c-3.8
revert-23917-enum-prepare_kwds
revert-24821-fix/bigint_freelist
revert-25103-binary-locale
revert-25134-regen_stable_abi
revert-28650-revert-28615-test-datetime-discover
revert-28660-revert-gh28645
revert-29124-bpo-44019
revert-30472-issue-46301
revert-6121-is_integer
revert-7960-backport-2cc9d21-3.7
revert-9703-master
soft-keywords
suspcious
sync-39-whatsnew
travis-3.5
travis-3.6
travis-macOS
type-comments
unixdeepfreeze
v3.8.4
whatsnew-617
windeepfreeze
zhangyangyu-patch-1
zooba-patch-1
github.com: python/cpython.git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
Lib
/
test
/
test_codecs.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
The incremental decoder for utf-7 must preserve its state between calls.
Amaury Forgeot d'Arc
2007-11-20
1
-2
/
+12
*
Fix for #1444: utf_8_sig.StreamReader was (indirectly through decode())
Walter Dörwald
2007-11-19
1
-0
/
+44
*
Fix typo in comment.
Walter Dörwald
2007-11-19
1
-1
/
+1
*
Backport r57105 and r57145 from the py3k branch: UTF-32 codecs.
Walter Dörwald
2007-08-17
1
-0
/
+134
*
Fix utf-8-sig incremental decoder, which didn't recognise a BOM when the
Walter Dörwald
2007-04-12
1
-0
/
+5
*
Change decode() so that it works with a buffer (i.e. unicode(..., 'utf-8-sig'))
Walter Dörwald
2006-11-23
1
-0
/
+4
*
Whitespace normalization.
Tim Peters
2006-11-03
1
-2
/
+2
*
I'm assuming this is correct, it fixes the tests so they pass again
Neal Norwitz
2006-10-29
1
-0
/
+1
*
Add tests for incremental codecs with an errors
Walter Dörwald
2006-10-29
1
-0
/
+24
*
Bug #1586613: fix zlib and bz2 codecs' incremental en/decoders.
Georg Brandl
2006-10-29
1
-0
/
+2
*
Fix the new EncodedFile test to work with big endian platforms.
Georg Brandl
2006-10-29
1
-2
/
+2
*
Fix codecs.EncodedFile which did not use file_encoding in 2.5.0, and
Georg Brandl
2006-10-29
1
-1
/
+28
*
Verify the crash due to EncodingMap not initialized does not return
Neal Norwitz
2006-06-13
1
-0
/
+6
*
Add a BufferedIncrementalEncoder class that can be used for implementing
Walter Dörwald
2006-04-14
1
-3
/
+70
*
Call encode()/decode() with final==True as the last call in the
Walter Dörwald
2006-04-14
1
-0
/
+4
*
Add tests for the C APIs PyCodec_IncrementalEncoder() and
Walter Dörwald
2006-03-18
1
-2
/
+14
*
Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass
Walter Dörwald
2006-03-15
1
-0
/
+57
*
If size is specified, try to read at least size characters.
Walter Dörwald
2006-03-06
1
-5
/
+9
*
Patch #1177307: UTF-8-Sig codec.
Martin v. Löwis
2006-01-08
1
-0
/
+28
*
Add tests to increase code coverage in Python/codecs.c and Python/exceptions.c.
Walter Dörwald
2005-11-17
1
-0
/
+19
*
Add tests for various error cases and for readbuffer_encode() and
Walter Dörwald
2005-11-17
1
-2
/
+67
*
Part of SF patch #1313939: Speedup charmap decoding by extending
Walter Dörwald
2005-10-06
1
-1
/
+36
*
SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complain
Walter Dörwald
2005-08-30
1
-1
/
+50
*
Make IDNA return an empty string when the input is empty. Fixes #1163178.
Martin v. Löwis
2005-08-25
1
-0
/
+6
*
Make attributes and local variables in the StreamReader str objects instead
Walter Dörwald
2005-07-20
1
-0
/
+17
*
Update test to the current readline() behaviour.
Walter Dörwald
2005-04-21
1
-0
/
+2
*
Fix for SF bug #1175396: readline() will now read one more character, if
Walter Dörwald
2005-04-04
1
-9
/
+82
*
Reset internal buffers when seek() is called. This fixes SF bug #1156259.
Walter Dörwald
2005-03-14
1
-0
/
+15
*
Fix stupid typo: Don't read from a writer.
Walter Dörwald
2005-02-08
1
-2
/
+2
*
Add a test for UTF-16 reading where the byte sequence doesn't start with
Walter Dörwald
2005-02-04
1
-0
/
+9
*
Fix and test for SF bug #1098990: codec readline() splits lines apart.
Walter Dörwald
2005-01-10
1
-0
/
+30
*
Add a test that checks the basic functionality of every encoding.
Walter Dörwald
2004-12-29
1
-1
/
+179
*
The changes to the stateful codecs in 2.4 resulted in StreamReader.readline()
Walter Dörwald
2004-12-21
1
-13
/
+80
*
Trigger a few error cases in Modules/_codecsmodule.c.
Walter Dörwald
2004-10-28
1
-0
/
+14
*
SF #1048865: Fix a trivial typo that breaks StreamReader.readlines()
Hye-Shik Chang
2004-10-17
1
-1
/
+12
*
SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support
Walter Dörwald
2004-09-07
1
-1
/
+117
*
Add generic codecs.encode() and .decode() APIs that don't impose
Marc-André Lemburg
2004-07-10
1
-1
/
+11
*
Whitespace normalization.
Tim Peters
2004-07-08
1
-1
/
+1
*
Add test case for unicode(somestring, "idna").
Martin v. Löwis
2004-03-24
1
-1
/
+6
*
Combine the functionality of test_support.run_unittest()
Walter Dörwald
2003-05-01
1
-7
/
+7
*
Whitespace normalization.
Tim Peters
2003-04-24
1
-2
/
+2
*
Skip nameprep test 3.43, as we do allow unassigned characters. The test
Martin v. Löwis
2003-04-18
1
-2
/
+4
*
Implement IDNA (Internationalized Domain Names in Applications).
Martin v. Löwis
2003-04-18
1
-0
/
+296
*
Fix for [ 543344 ] Interpreter crashes when recoding; suggested
Marc-André Lemburg
2003-02-04
1
-0
/
+9
*
Check whether a string resize is necessary at the end
Walter Dörwald
2002-09-03
1
-1
/
+8
*
Get rid of relative imports in all unittests. Now anything that
Barry Warsaw
2002-07-23
1
-1
/
+2
*
Change the PyUnit-based tests to use the test_main() approach. This
Fred Drake
2001-09-20
1
-1
/
+7
*
Test by Martin v. Loewis for the new UTF-16 codec handling of BOM
Marc-André Lemburg
2001-06-19
1
-0
/
+25