"David Hutto" <smokefl...@gmail.com> wrote

it's not necessary to worry about insertion of data other than my own
inputs.

But can you be sure that you won't accidentally mistype something
that eval can read as valid code but that does something unexpected
- even if its only throw an apparently bizarre error dump at you...

Relying on eval() reading your database content as if it were Python
code - which is what it does - is a risky strategy.

But, heh, it's your data, your project, so as long as you understand
the risks then it's your decision. :-)

--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/




_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to