In PyQt, QValidator.validate used to return a tuple:
(state, text, length)
but with PyQt-0.11 it now seems to return:
(state, length)
The old behaviour corresponds more to what Qt is expecting:
State QValidator::validate ( QString &, int & )
--pete