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/2007-November/075118.html below:

[Python-Dev] Special file "nul" in Windows and os.stat

[Python-Dev] Special file "nul" in Windows and os.stat [Python-Dev] Special file "nul" in Windows and os.statFacundo Batista facundobatista at gmail.com
Tue Nov 6 16:04:59 CET 2007
2007/11/3, "Martin v. Löwis" <martin at v.loewis.de>:

> > GetFileAttributes() doesn't return those, just the FAT filesystem
> > attributes. GetFileSize and GetFileTime fail.
>
> Ok, so how does msvcrt stat() manage to fill these fields if those
> functions fail?

Beyond the question to this specific question, I do not like the
inconsistency of windows with itself during time and versions.

As Mask Hammond said, I think that we should rely on what windows is
saying to us as strict as possible. If windows change its behaviour,
ok, I do not think that we need to "patch" these behaviour holes.

What do you think? Is a mistake to adhere to windows behaviour?

Regards,

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
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