Loop exception catching

Ivan Shevanski darkpaladin79 at gmail.com
Wed Jan 25 15:21:25 EST 2006


On 1/25/06, Ivan Shevanski <darkpaladin79 at gmail.com> wrote:
>
>
>
> On 1/25/06, Fredrik Lundh <fredrik at pythonware.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060125/1f1ca5bf/attachment.html>


More information about the Python-list mailing list