mirror of
https://github.com/python/cpython.git
synced 2026-05-10 06:31:43 -04:00
f6c578328c
The bug may occurs if locale.getpreferredencoding() returns an encoding with a surrogate (very unlikely!).