Join GitHub today
TextCompleterSimple still requires the "Start" and "GetNext" method to be overriden. #836
Description of the problem:
Okay, I think I figured out why I didn't see any problems when running the unittest -
I think that all that needs to be done here is Wig in the Start() and GetNext() method declarations since they're not declared in the interface header.
referenced this issue
May 1, 2018
Oh, right. Classes that are marked as abstract get an exception when constructed, but those that aren't only raise the exception when the base class virtual is called without having been overridden in Python.
Or just copy the MethodDefs from the base ClassDef.
Well, this doesn't seems to be enough...
Attached is a small app showing the use of both TextCompleter (witch works fine) and TextCompleterSimple (witch doesn't works).
And as a complement of informations : if the Start and GetNext methods of TextCompleterSimple are overriden, it works like the TextCompleter class (you can try copy/paste these methods from one class to the other to see)