[beginner] What's wrong?

Chris Angelico rosuav at gmail.com
Sun Apr 3 13:35:57 EDT 2016


On Mon, Apr 4, 2016 at 3:18 AM, Rustom Mody <rustompmody at gmail.com> wrote:
> While I personally dont know enough about security to be able to demonstrate a
> full sequence of events, here's a little fun I had with Chris:
>
> https://mail.python.org/pipermail/python-list/2014-May/672413.html
>
> Do you not think this could be tailored into something more sinister and
> dangerous?

I honestly don't know what you're proving there. You didn't import a
file called "1.py"; you just created a file with a non-ASCII name and
used a non-ASCII identifier to import it. In other words, you did
exactly what Unicode should allow: names in any language.

ChrisA



More information about the Python-list mailing list