On Fri, 9 Aug 2019 at 17:55, Steve Dower <[email protected]> wrote: > > * change the SyntaxWarning into a default-silenced one that fires every > > time a .pyc is loaded (this is the hard part, but it's doable) > > * change pathlib.PureWindowsPath, os.fsencode and os.fsdecode to explicitly > > warn when the path contains control characters > > * change the PyErr_SetExcFromWindowsErrWithFilenameObjects function to > > append (or chain) an extra message when either of the filenames contains > > control characters (or change OSError to do it, or the default > > sys.excepthook)
The second and third art of this seem like they are both independent of the first, and useful improvements in their own right. Paul _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/6L65KDXMRTTLHX7HWAU4WLRMHEH7GXFA/
