[issue13257] Move importlib over to PEP 3151 exceptions

2011-10-28 Thread Brett Cannon
Brett Cannon added the comment: Florent inadvertently did this for me in rev 73169. -- resolution: -> fixed stage: needs patch -> status: open -> closed ___ Python tracker ___

[issue13257] Move importlib over to PEP 3151 exceptions

2011-10-24 Thread Brett Cannon
New submission from Brett Cannon : 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 a