Add another compatiblity issue: illegal "errors" values
will raise a different exception.
This commit is contained in:
parent
078b0a43a4
commit
b151a83ed7
|
@ -389,6 +389,9 @@ Backwards Compatibility
|
||||||
supported encodings are ASCII based, and thus map ? to ?, this
|
supported encodings are ASCII based, and thus map ? to ?, this
|
||||||
should not be a problem in practice.
|
should not be a problem in practice.
|
||||||
|
|
||||||
|
Illegal values for the errors argument raised ValueError before,
|
||||||
|
now they will raise LookupError.
|
||||||
|
|
||||||
|
|
||||||
References
|
References
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue