> The whole purpose of PEP 383 is to send the exact same bytes that were > read from the OS back to the OS => violating (2) (for whatever the > apparent system file-encoding is, not limited to UTF-8), and that has > overwhelmingly popular support. > > Note that this won't happen automatically, either, AIUI. The PEP's > proposed implementation is as an error handler, and this would need to > be specified explicitly. It's not intended to be the default.
Actually, no: the error handler will be automatically used in all places that convert file names to bytes. I have clarified the PEP to make that explicit. IOW, it replaces the current "strict" setting in these cases. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com