Closed gsnedders closed 1 year ago
I'm facing the same issue. Are there any updates?
I have temporarily worked around it by doing parse(list(tokenize(s)))
Per @vlasovskikh in https://github.com/vlasovskikh/funcparserlib/pull/45#issuecomment-821788078, this is intended behaviour, which yes, means if you can't pass the return value of make_tokenizer
to parse
and instead need to wrap it in list
.
results in
tokenize("x")
is a generator, and you can't calllen
on a generator.