mirror of
https://github.com/python/cpython.git
synced 2026-05-10 14:41:01 -04:00
19a079690c
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 e91dee87ed)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>