os.readlink() doco snafu?
Miles
semanticist at gmail.com
Wed Aug 20 16:48:56 EDT 2008
More information about the Python-list mailing list
Wed Aug 20 16:48:56 EDT 2008
- Previous message (by thread): os.readlink() doco snafu?
- Next message (by thread): Find file in a given search path
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Fredrik Lundh wrote: > JBW wrote: >> I'm not sure readlink() lives up to its documentation. ... >> The result makes sense, but it belies the documentation. Should I report >> this? Or is there another plausible interpretation? > > the part about joining with dirname(path) assumes that you pass in an > absolute path to the readlink function. That documentation should probably say, "if it is relative, it may be converted to a pathname valid from the current working directory using ..." -Miles
- Previous message (by thread): os.readlink() doco snafu?
- Next message (by thread): Find file in a given search path
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list