[Python-Dev] NTPath or WindowsPath?

Paul Moore p.f.moore at gmail.com
Mon Nov 18 11:30:05 CET 2013

On 18 November 2013 10:18, Tim Golden <mail at timgolden.me.uk> wrote:
>> Should nturl2path be renamed to windowsurl2path? Should os.name return
>> "windows" on Windows, and should sysconfig support "windows" scheme name?
> I think the answer's fairly obviously "no" for reasons of backwards
> compatibility. (Although that doesn't rule out aliases if someone felt
> strongly enough about it).
> I don't say that there's no case for trying address the considerable
> variety of Python & C ways of saying "I'm on Windows" with the core &
> stdlib. But I do say that whoever makes a case had better be *very* sure
> of the impact.
> Going forwards, however, I'm happy to see new Python code using
> "Windows" rather than the size-specific "Win32/64" or the dated and
> over-specific "NT".

Agreed on all counts.

More information about the Python-Dev mailing list