Open marcus290 opened 6 years ago
In Python, the native bool class inherits from int, so
bool.__bases__
returns:
(<class 'int'>,)
The same code in Batavia returns an Attribute Error:
AttributeError: 'Native object' object has no attribute '__bases__'
I came across this while implementing issubclass() builtin #740
Python Version (list the specific version number) Python 3.4.3
Operating System and Version (select from the following and list the specific version number; if your OS is not listed, list that as well)
Expected Behavior
In Python, the native bool class inherits from int, so
returns:
Current Behavior
The same code in Batavia returns an Attribute Error:
I came across this while implementing issubclass() builtin #740
Steps to reproduce
bool.__bases__
into the Batavia sandboxYour Environment
Python Version (list the specific version number) Python 3.4.3
Operating System and Version (select from the following and list the specific version number; if your OS is not listed, list that as well)