[issue23567] os.stat() tuple access vs named attribute access int vs float

STINNER Victor report at bugs.python.org
Tue Mar 3 03:31:35 CET 2015


STINNER Victor added the comment:

It's already documented:

https://docs.python.org/dev/library/os.html#os.stat_result

"For compatibility with older Python versions, accessing stat_result as a tuple always returns integers."

----------
nosy: +haypo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23567>
_______________________________________


More information about the Python-bugs-list mailing list