Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment: Please open a new issue for "surrogates not allowed". ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue42225> _______________________________________