This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author remerson
Recipients
Date 2003-07-23.23:36:03
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=824995

Recommend closing this bug as the vagueness lies in the
documentation.  Alternatively, return an error if the path
provided is not an abspath.  Either way the documentation
should be updated.

The library routines os.path.isdir() and os.path.isfile()
require that the path argument be an abspath.  In the
absence of an abspath they use the cwd as the pbase path and
prepend it to the data found with the os.listdir() request.
 Hence it works for the first case I tried bu not the
second, yet it doesnt complain.

Thanks for your rapid response.  Checking into the questions
asked led to the solution.

Regards

Dick
History
Date User Action Args
2007-08-23 14:14:56adminlinkissue773286 messages
2007-08-23 14:14:56admincreate