9 Aug
2019
9 Aug
'19
5:15 p.m.
On Fri, 9 Aug 2019 at 17:55, Steve Dower <steve.dower@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