Victor Stinner | 22eb689 | 2019-06-26 00:51:05 +0200 | [diff] [blame^] | 1 | In development mode and in debug build, *encoding* and *errors* arguments are |
2 | now checked on string encoding and decoding operations. Examples: :func:`open`, | ||||
3 | :meth:`str.encode` and :meth:`bytes.decode`. | ||||
4 | |||||
5 | By default, for best performances, the *errors* argument is only checked at the | ||||
6 | first encoding/decoding error, and the *encoding* argument is sometimes ignored | ||||
7 | for empty strings. |