On 1/25/06, Ivan Shevanski <[EMAIL PROTECTED]> wrote:


On 1/25/06, Fredrik Lundh < [EMAIL PROTECTED]> wrote:
Aldo Cortesi wrote:

> > What do you mean?
>
> Well, the problem with "input" is that it allows the user to supply an
> arbitrary Python _expression_, which will then be executed. Among other things,
> this means that your pet cat could make your script exit due to an uncaught
> exception by simply walking accross your keyboard. If your cat is sufficiently
> clever, it could also empty your bank account, email your entire porn
> collection to your mother, and then erase your hard drive.

but that the cat would be clever enough to make your script exit and then do
evil stuff from the shell is completely out of the question.

</F>



--
http://mail.python.org/mailman/listinfo/python-list


Hah, I'll never look at cats the same way again. . .Thanks for your help everyone!

--



-Ivan
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to