IPYthon session:
In [1]: import os
In [4]: st = os.stat('.bzr.log')
In [5]: st Out[5]: (33206, 0L, 0, 0, 0, 0, 4774L, 1320685506, 1320685506, 1320685405)
In [6]: len(st) Out[6]: 10
In [7]: import stat
In [8]: st[stat.ST_UID] Out[8]: 0
In [9]: st[stat.ST_GID] Out[9]: 0
I'm not sure why you need st_uid, but AFAIK these values are always 0 on Windows.
IPYthon session:
In [1]: import os
In [4]: st = os.stat('.bzr.log')
In [5]: st
Out[5]: (33206, 0L, 0, 0, 0, 0, 4774L, 1320685506, 1320685506, 1320685405)
In [6]: len(st)
Out[6]: 10
In [7]: import stat
In [8]: st[stat.ST_UID]
Out[8]: 0
In [9]: st[stat.ST_GID]
Out[9]: 0
I'm not sure why you need st_uid, but AFAIK these values are always 0 on Windows.