[New-bugs-announce] [issue1364] os.lstat documentation error

billiejoex report at bugs.python.org
Wed Oct 31 04:11:12 CET 2007

New submission from billiejoex:

os module documentation says about lstat():

> lstat( path) 
> Like stat(), but do not follow symbolic links. 
> Availability: Macintosh, Unix. 

This is not true since os.lstat() is also available under Windows
(tested under Win XP sp, Python 2.5).

Moreover, wouldn't it be better having os.lstat() available on all
platforms and turn it into an alias of os.stat on those platforms which
do not support symbolic links?

components: Documentation
messages: 56982
nosy: billiejoex
severity: normal
status: open
title: os.lstat documentation error
versions: Python 2.5

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list