A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-November/130323.html below:

[Python-Dev] NTPath or WindowsPath?

[Python-Dev] NTPath or WindowsPath? [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.
Paul
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4