• Guido van Rossum's avatar
    SF patch #462296: Add attributes to os.stat results; by Nick Mathewson. · 98bf58f1
    Guido van Rossum yazdı
    This is a big one, touching lots of files.  Some of the platforms
    aren't tested yet.  Briefly, this changes the return value of the
    os/posix functions stat(), fstat(), statvfs(), fstatvfs(), and the
    time functions localtime(), gmtime(), and strptime() from tuples into
    pseudo-sequences.  When accessed as a sequence, they behave exactly as
    before.  But they also have attributes like st_mtime or tm_year.  The
    stat return value, moreover, has a few platform-specific attributes
    that are not available through the sequence interface (because
    everybody expects the sequence to have a fixed length, these couldn't
    be added there).  If your platform's struct stat doesn't define
    st_blksize, st_blocks or st_rdev, they won't be accessible from Python
    either.
    
    (Still missing is a documentation update.)
    98bf58f1
Adı
Son kayıt (commit)
Son güncelleme
..
ae Loading commit data...
app Loading commit data...
cf Loading commit data...
cm Loading commit data...
ctl Loading commit data...
dlg Loading commit data...
drag Loading commit data...
evt Loading commit data...
fm Loading commit data...
help Loading commit data...
htmlrender Loading commit data...
icn Loading commit data...
list Loading commit data...
macspeech Loading commit data...
menu Loading commit data...
mlte Loading commit data...
qd Loading commit data...
qdoffs Loading commit data...
qt Loading commit data...
res Loading commit data...
scrap Loading commit data...
snd Loading commit data...
te Loading commit data...
waste Loading commit data...
win Loading commit data...
ColorPickermodule.c Loading commit data...
Nav.c Loading commit data...
Printingmodule.c Loading commit data...
_dummy_tkinter.c Loading commit data...
calldll.c Loading commit data...
ctbmodule.c Loading commit data...
gestaltmodule.c Loading commit data...
icgluemodule.c Loading commit data...
macconfig.c Loading commit data...
macfsmodule.c Loading commit data...
macmodule.c Loading commit data...
macosmodule.c Loading commit data...
macspeechmodule.c Loading commit data...