Simplify and remove few dependencies on 'errno', thanks to PEP 3151.

This commit is contained in:
Florent Xicluna 2011-10-28 16:06:23 +02:00
parent 908ae24b06
commit 68f71a34f4
5 changed files with 28 additions and 45 deletions

View file

@ -81,11 +81,10 @@ except ImportError:
except ImportError:
raise ImportError('posix, nt, or os2 module required for importlib')
_bootstrap._os = _os
import imp, sys, marshal, errno, _io
import imp, sys, marshal, _io
_bootstrap.imp = imp
_bootstrap.sys = sys
_bootstrap.marshal = marshal
_bootstrap.errno = errno
_bootstrap._io = _io
import _warnings
_bootstrap._warnings = _warnings