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
The _validate_length method of TraitListObject uses object in its error message, but in that context, object is not a local variable but instead refers to the built-in object type.
This results in error messages that look like:
The 'windows' trait of a type instance must be a list of items which are an envisage.ui.tasks.task_window.TaskWindow or None, but you attempted to change its length to -1 elements.
The
_validate_length
method ofTraitListObject
usesobject
in its error message, but in that context,object
is not a local variable but instead refers to the built-inobject
type.This results in error messages that look like:
Code link:
traits/traits/trait_list_object.py
Lines 892 to 893 in 94a3dca
The text was updated successfully, but these errors were encountered: