enthought/enaml — Issue #21: Does not recognize len built-in in compound expression
Author: jdmarch
Created: 2011-11-11 05:47:01+00:00
State: open

enabled << get_auth.checked and (len(model.password) > 5)

NameError: name `len` is not defined

ok with
x << len(model.password)

and with
enabled << get_auth.checked and model.password.__len__() > 5