Message146317
Importlib uses the errno module explicitly for properly checking OSError for EEXIST and IOError for EACCES. Thanks to PEP 3151, however, neither check is needed since those exceptions correspond to FileExistsError and PermissionError, respectively.
As long as posix.mkdir() uses the new exceptions, the entire need for errno goes away for the module, eliminating one more module required for bootstrapping. |
|
Date |
User |
Action |
Args |
2011-10-24 19:16:51 | brett.cannon | set | recipients:
+ brett.cannon |
2011-10-24 19:16:51 | brett.cannon | set | messageid: <1319483811.65.0.194402902365.issue13257@psf.upfronthosting.co.za> |
2011-10-24 19:16:51 | brett.cannon | link | issue13257 messages |
2011-10-24 19:16:50 | brett.cannon | create | |
|