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/2015-February/138291.html below:

Add a new DirEntry.inode() method?

[Python-Dev] PEP 471 (scandir): Add a new DirEntry.inode() method? [Python-Dev] PEP 471 (scandir): Add a new DirEntry.inode() method?Victor Stinner victor.stinner at gmail.com
Sun Feb 15 00:03:54 CET 2015
Le 14 févr. 2015 18:47, "Gregory P. Smith" <greg at krypto.org> a écrit :
> I think the "or None" semantics are a bad idea.

Oh, in fact it shouldn't be None but 0 onWindows to be consistent with
DirEntry.stat().st_ino which is also equal to 0.

The value 0 is not a valid inode number.

Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150215/901c0c4d/attachment-0001.html>
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