Brett Cannon <br...@python.org> added the comment:
There is not "find best encoding" code, hence why so much code out there uses chardet. :) This might also tie into issue #33944 and the idea of rethinking .pth files. ---------- nosy: +brett.cannon _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35131> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com