1.1 --- a/lib/__builtins__/__init__.py Sun Nov 27 23:21:35 2016 +0100
1.2 +++ b/lib/__builtins__/__init__.py Sun Nov 27 23:22:51 2016 +0100
1.3 @@ -34,7 +34,6 @@
1.4 EnvironmentError,
1.5 FloatingPointError,
1.6 FutureWarning,
1.7 - GeneratorExit,
1.8 ImportError,
1.9 ImportWarning,
1.10 IndentationError,
1.11 @@ -42,16 +41,13 @@
1.12 IOError,
1.13 KeyError,
1.14 KeyboardInterrupt,
1.15 - LookupError,
1.16 NameError,
1.17 NotImplementedError,
1.18 OSError,
1.19 OverflowError,
1.20 PendingDeprecationWarning,
1.21 - ReferenceError,
1.22 RuntimeError,
1.23 RuntimeWarning,
1.24 - StandardError,
1.25 StopIteration,
1.26 SyntaxError,
1.27 SyntaxWarning,
2.1 --- a/lib/__builtins__/exception/__init__.py Sun Nov 27 23:21:35 2016 +0100
2.2 +++ b/lib/__builtins__/exception/__init__.py Sun Nov 27 23:22:51 2016 +0100
2.3 @@ -24,13 +24,9 @@
2.4 )
2.5
2.6 from __builtins__.exception.base import (
2.7 - GeneratorExit,
2.8 IndexError,
2.9 KeyError,
2.10 - LookupError,
2.11 NotImplementedError,
2.12 - ReferenceError,
2.13 - StandardError,
2.14 StopIteration,
2.15 ValueError
2.16 )
3.1 --- a/lib/__builtins__/exception/base.py Sun Nov 27 23:21:35 2016 +0100
3.2 +++ b/lib/__builtins__/exception/base.py Sun Nov 27 23:22:51 2016 +0100
3.3 @@ -19,13 +19,15 @@
3.4 this program. If not, see <http://www.gnu.org/licenses/>.
3.5 """
3.6
3.7 -class GeneratorExit(Exception): pass
3.8 -class IndexError(Exception): pass
3.9 +class IndexError(Exception):
3.10 +
3.11 + "An error condition involving an index."
3.12 +
3.13 + def __init__(self, index):
3.14 + self.index = index
3.15 +
3.16 class KeyError(Exception): pass
3.17 -class LookupError(Exception): pass
3.18 class NotImplementedError(Exception): pass
3.19 -class ReferenceError(Exception): pass
3.20 -class StandardError(Exception): pass
3.21 class StopIteration(Exception): pass
3.22 class ValueError(Exception): pass
3.23