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 georg.brandl
Recipients georg.brandl
Date 2010-12-22.12:45:08
SpamBayes Score 2.0652843e-07
Marked as misclassified No
Message-id <1293021910.31.0.818314214299.issue10758@psf.upfronthosting.co.za>
In-reply-to
Content
access(2) can return errnos that correspond to input errors or general system faults, such as EINVAL, EIO or ENOMEM.  In this case, an exception should be raised instead of returning False.

It is probably best to whitelist those errnos that indicate missing access -- it needs to be discussed whether that is just EACCES, or also e.g. ENOENT.
History
Date User Action Args
2010-12-22 12:45:10georg.brandlsetrecipients: + georg.brandl
2010-12-22 12:45:10georg.brandlsetmessageid: <1293021910.31.0.818314214299.issue10758@psf.upfronthosting.co.za>
2010-12-22 12:45:08georg.brandllinkissue10758 messages
2010-12-22 12:45:08georg.brandlcreate