py: Remove IOError since it's deprecated; use OSError instead.

In CPython IOError (and EnvironmentError) is deprecated and aliased to
OSError.  All modules that used to raise IOError now raise OSError (or a
derived exception).

In Micro Python we never used IOError (except 1 place, incorrectly) and
so don't need to keep it.

See http://legacy.python.org/dev/peps/pep-3151/ for background.
This commit is contained in:
Damien George
2014-09-30 13:59:30 +00:00
parent 1c6a1dc740
commit 8b03d944e2
6 changed files with 12 additions and 14 deletions

View File

@@ -105,7 +105,6 @@ Q(FileExistsError)
Q(FileNotFoundError)
Q(FloatingPointError)
Q(GeneratorExit)
Q(IOError)
Q(ImportError)
Q(IndentationError)
Q(IndexError)