Bad docs for os.path.isabs()

Peter Hansen peter at engcorp.com
Mon Nov 10 10:05:09 EST 2003


Frank Bechmann wrote:
> 
> IIRC (I currently have no DOS console at hand) even this is wrong:
> 
> "Return True if path is not relative to the current working
> directory."
> 
> because the case "D:xyz" means a path relative to current path on
> drive D: which is eventually not the same as the current working
> directory.

You are correct, although the best thing for the world might be
if we all just pretended you weren't.  :-)

-Peter




More information about the Python-list mailing list