On Mon, Apr 20, 2020 at 1:39 PM Steven D'Aprano <st...@pearwood.info> wrote:
> I'm also looking at that call to eval and wondering if someone smarter
> than me can use that to trick me into evaluating something I don't like.
>

I'm very confused by that call. It appears to be evaluating a bare
name in a specific context... which should give the value of that
variable. But, isn't that going to be... one of the parameters to the
function? Hasn't it already been parsed out?

It'd be a lot more interesting if people post MacroPy proposals rather
than these bizarre source-code-parsing things that are fundamentally
broken in so many ways.

ChrisA
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/DFX4MPVAFX37UBW3HKIVNOQ2TNZFKCJW/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to