> I have written a simple parser/evaluator that is sufficient for my > simple requirements, and I thought I was safe. > > Then I saw this comment in a recent post by Robin Becker of ReportLab - > > "avoiding simple things like ' '*(10**200) seems quite difficult" > > I realised that my method is vulnerable to this and, like Robin, I have > not come up with an easy way to guard against it. > > Frank Millman > > Just use floats instead of integers. -- https://mail.python.org/mailman/listinfo/python-list
- Calculator andershe02
- Re: Calculator samnalty
- Re: Calculator andershe02
- Re: Calculator Python
- Re: Calculator samnalty
- Re: Calculator Python
- Re: Calculator Chris Angelico
- Sandboxing eval(... musbur
- Re: Sandboxing e... Paul Moore
- Re: Sandboxing e... Frank
- Re: Sandboxing e... inhahe
- Re: Sandboxing e... Frank Millman
- Re: Sandboxing e... MRAB
- Re: Sandboxing e... Jon Ribbens via Python-list
- Re: Sandboxing e... Grant Edwards
- Re: Sandboxing e... Chris Angelico
- Re: Sandboxing e... musbur
- Re: Sandboxing e... Chris Angelico
- Re: Sandboxing e... Musbur
- Re: Sandboxing e... Greg Ewing
- Re: Sandboxing e... Stephan Lukits