安全性

核心与内置函数

The TargetScopeError subclass originally proposed by the PEP has been removed in favour of just raising regular syntax errors for the disallowed cases.

By default, for best performances, the errors argument is only checked at the first encoding/decoding error, and the encoding argument is sometimes ignored for empty strings.

Patch by blhsing

Patch by Gordon P. Hemsley

文档

Thanks to Benjamin Mintz for finding the bug.

测试

Use python3 -m test --fail-env-changed to catch unraisable exceptions in tests.

构建

patch by M Felt

Windows