Open
Description
In the tokenize() method of BooleanAlgebra, would it be possible to change the tokens without inheriting the whole method and changing just the tokens, e.g.:
def tokenize(self, expr, TOKENS=None):
...
TOKENS = TOKENS or {
# current TOKENS
}
...
Or perhaps define the current tokens outside the method and make them the default TOKENS instead of None above.
This makes it less likely that in future versions the inheriting class becomes outdated.
Cheers, Lars