You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Error when calling the metaclass bases
type 'slice' is not an acceptable base type
this is due to the fact that Py_TPFLAGS_BASETYPE is or'ed into the tp_flags of all BoxedClasses. we need a way to either keep that from happening or override it after BoxedClass creation time. we also need to audit our builtins to make sure only the proper ones are subclassable.
The text was updated successfully, but these errors were encountered:
the following example:
succeeds in pyston and raises in cpython:
this is due to the fact that Py_TPFLAGS_BASETYPE is or'ed into the tp_flags of all BoxedClasses. we need a way to either keep that from happening or override it after BoxedClass creation time. we also need to audit our builtins to make sure only the proper ones are subclassable.
The text was updated successfully, but these errors were encountered: