Irit Katriel <iritkatr...@gmail.com> added the comment: It's doing this now, so seems like it has been fixed:
% env -i ./python.exe Python 3.11.0a0 ... >>> import os >>> os.stat(u"\xf0") Traceback (most recent call last): File "<stdin>", line 1, in <module> FileNotFoundError: [Errno 2] No such file or directory: 'ð' >>> ---------- nosy: +iritkatriel _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue25867> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com