On Fri, 9 Aug 2019 at 17:55, Steve Dower <steve.do...@python.org> 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 -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/6L65KDXMRTTLHX7HWAU4WLRMHEH7GXFA/