Add python-compliant TypeError handling for complex, dict, frozenset, list, None, NotImplemented, range, set, slice, and tuple. Later commit added handling for classes and bytearrays.
Problem:
The implementation of int() did not correctly catch errors related to the passing of unsupported types.
Fixes:
Contributes to fixing #47 [Finish implementation of builtins].
Details:
Add python-compliant TypeError handling for complex, dict, frozenset, list, None, NotImplemented, range, set, slice, and tuple. Later commit added handling for classes and bytearrays.
Problem:
The implementation of int() did not correctly catch errors related to the passing of unsupported types.
Fixes:
Contributes to fixing #47 [Finish implementation of builtins].
PR Checklist: