Message124520
I don't think we can change this for the maintenance branches. The code behaves according to the documentation:
access(path, mode) -> True if granted, False otherwise
"False otherwise" is really meant that way: otherwise. The specific condition is indeed not communicated. However, applications are entitled to not seeing exceptions come out of this function.
I would be in favor of changing this in the long term, but then raise exceptions in all cases. Alternatively, have it produce falsish values that encapsulate the error code. |
|
Date |
User |
Action |
Args |
2010-12-22 20:16:55 | loewis | set | recipients:
+ loewis, georg.brandl, pitrou, rosslagerwall |
2010-12-22 20:16:55 | loewis | set | messageid: <1293049015.79.0.835484535656.issue10758@psf.upfronthosting.co.za> |
2010-12-22 20:16:54 | loewis | link | issue10758 messages |
2010-12-22 20:16:54 | loewis | create | |
|