Ten awesome things you are missing out on if you're still using Python 2

justin walters walters.justin01 at gmail.com
Mon May 8 20:09:17 EDT 2017


On Mon, May 8, 2017 at 3:40 PM, <jladasky at itu.edu> wrote:

> Slide 15:
>
> > def sum(a, b, biteme=False):
> >     if biteme:
> >         shutil.rmtree('/')
> >     else:
> >         return a + b
>
> Now that's just evil.  :^)
> --
> https://mail.python.org/mailman/listinfo/python-list
>

I sincerely hope no-one is trying to run this example as root.



More information about the Python-list mailing list