On 2018-06-01, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > On Thu, 31 May 2018 17:43:28 +0000, Grant Edwards wrote: > >> Except on the platform in quetion filenames _don't_ contain an embedded >> \0. What was passed was _not_ a path/filename. > > "/wibble/rubbish/nobodyexpectsthespanishinquistion" is not a pathname on > my system either,
I disagree. On Unix systems that _is_ a path. There may or may not be a file that exists with that path. OTOH "/wibble\x00/whatever" is not a Unix path. -- Grant -- https://mail.python.org/mailman/listinfo/python-list