New submission from Guido van Rossum <>:

We received a report from a well-meaning security researcher who was confused 
by the non-zero and arbitrary value of st_ino in stat() results on Windows 
(where in Python 2 this was always zero). The researcher was worried that this 
was due to an uninitialized memory read. The actual cause is the way this field 
is filled with arbitary data:

Let's make sure this is documented properly for all versions where we still 
update the docs.

assignee: steve.dower
components: Documentation
messages: 312376
nosy: gvanrossum, steve.dower
priority: normal
severity: normal
status: open
title: Document value of st_ino on Windows

Python tracker <>
Python-bugs-list mailing list

Reply via email to