Author haypo
Recipients eryksun, haypo, mba, steve.dower, xiang.zhang
Date 2017-03-08.08:07:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488960480.2.0.339030886725.issue29619@psf.upfronthosting.co.za>
In-reply-to
Content
On Windows, _Py_attribute_data_to_stat() converts BY_HANDLE_FILE_INFORMATION to _Py_stat_struct, and then _pystat_fromstructstat() creates Python objects.

The file index in BY_HANDLE_FILE_INFORMATION is made of two DWORD, so yes, it's unsigned.

On Linux, stat.st_ino type is ino_t which is unsigned too.

So I created a pull request to fix the bug, even if I don't think that a filesystem produce inodes larger than 2^63-1. Not sure if it's worth it to backport the fix to Python 2.7, 3.5 and 3.6?
History
Date User Action Args
2017-03-08 08:08:00hayposetrecipients: + haypo, eryksun, steve.dower, xiang.zhang, mba
2017-03-08 08:08:00hayposetmessageid: <1488960480.2.0.339030886725.issue29619@psf.upfronthosting.co.za>
2017-03-08 08:08:00haypolinkissue29619 messages
2017-03-08 08:07:59haypocreate