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