]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Also chain codec exceptions that allow weakrefs
authorNick Coghlan <ncoghlan@gmail.com>
Tue, 19 Nov 2013 12:33:10 +0000 (22:33 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Tue, 19 Nov 2013 12:33:10 +0000 (22:33 +1000)
commitf1de55fb334004c5e23d1adfe5d59957674f38a6
tree9bb511393d52a7ffaa676b9c6cebc2ee50599016
parenta7261921811d6fc47ddfc9fe548c10a9f9f61b73
Also chain codec exceptions that allow weakrefs

The zlib and hex codecs throw custom exception types with
weakref support if the input type is valid, but the data
fails validation. Make sure the exception chaining in the
codec infrastructure can wrap those as well.
Lib/test/test_codecs.py
Objects/exceptions.c