[Python-Dev] r84329 - python/branches/py3k/Lib/importlib/_bootstrap.py (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Fri Aug 27 19:32:17 CEST 2010
- Previous message: [Python-Dev] Summary of Python tracker Issues
- Next message: [Python-Dev] r84329 - python/branches/py3k/Lib/importlib/_bootstrap.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 26 Aug 2010 23:07:13 +0200 (CEST) brett.cannon <python-checkins at python.org> wrote:
Author: brett.cannon Date: Thu Aug 26 23:07:13 2010 New Revision: 84329
Log: OSError is the exception raised when one tries to create a directory that already exists, not IOError.
It's probably simpler to catch all of them at once using EnvironmentError. (and see PEP 3151 :-))
Regards
Antoine.
- Previous message: [Python-Dev] Summary of Python tracker Issues
- Next message: [Python-Dev] r84329 - python/branches/py3k/Lib/importlib/_bootstrap.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]