aidhound / hotxlfp

A Python Excel Formula Parser similar to the javascript handsontable formulaparser
MIT License
27 stars 12 forks source link

not work XLError #4

Closed SovBur closed 3 years ago

SovBur commented 3 years ago

Hello. The exception does not work in the following cases:

p = hotxlfp.Parser()
formula = p.parse("5:2")
print(formula['error'])

expected to get an error, but "None".

Also:

p = hotxlfp.Parser()
formula = p.parse("2(6+2)")
print(formula['error'])
leonelcamara commented 3 years ago

@SovBur thank you so much for your great bug reports, I would love to know what you're using hotxlfp for.

SovBur commented 3 years ago

Thanks for the fixes, I use for web calculator.