STINNER Victor <vstin...@python.org> added the comment:
This bug has been fixed in the implementation of the PEP 587. $ gcc x.c -l python3.8 $(pkg-config python-3.8 --cflags --libs) -o x $ ./x Fatal Python error: pyinit_main: can't finish initializing sys ValueError: character U+110000 is not in range [U+0000; U+10ffff] Current thread 0x00007fd23364e6c0 (most recent call first): => it doesn't crash anymore, but write a error message and exit. ---------- nosy: +vstinner resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 -Python 3.4, Python 3.5, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue25631> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com