mirror of
https://github.com/python/cpython.git
synced 2026-01-30 06:36:55 +00:00
It was raised if the charset itself contains characters not encodable in UTF-8 (in particular \udcxx characters representing non-decodable bytes in the source). (cherry picked from commit e91dee87edcf6dee5dd78053004d76e5f05456d4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>