Message124500
| 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:10 | georg.brandl | set | recipients:
+ georg.brandl |
| 2010年12月22日 12:45:10 | georg.brandl | set | messageid: <1293021910.31.0.818314214299.issue10758@psf.upfronthosting.co.za> |
| 2010年12月22日 12:45:08 | georg.brandl | link | issue10758 messages |
| 2010年12月22日 12:45:08 | georg.brandl | create |
|