]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Close #17828: better handling of codec errors
authorNick Coghlan <ncoghlan@gmail.com>
Wed, 13 Nov 2013 13:49:21 +0000 (23:49 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Wed, 13 Nov 2013 13:49:21 +0000 (23:49 +1000)
commit8b097b4ed726b8282fce582cb2c20ab9c986fc21
treeca9b18d186c9132f62378e1bde87e766beb2b379
parent59799a83995f135bdb1b1a0994052c1f24c68e83
Close #17828: better handling of codec errors

- output type errors now redirect users to the type-neutral
  convenience functions in the codecs module
- stateless errors that occur during encoding and decoding
  will now be automatically wrapped in exceptions that give
  the name of the codec involved
Doc/whatsnew/3.4.rst
Include/pyerrors.h
Lib/test/test_codecs.py
Misc/NEWS
Objects/exceptions.c
Objects/unicodeobject.c
Python/codecs.c