This repository was archived by the owner on May 31, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 416
bool.__bases__ #757
Copy link
Copy link
Open
Description
Expected Behavior
In Python, the native bool class inherits from int, so
bool.__bases__
returns:
(<class 'int'>,)
Current Behavior
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
Steps to reproduce
- enter
bool.__bases__into the Batavia sandbox
Your 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)
- OSX
- Linux
- Windows
- Ubuntu
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels