[Python-ideas] Re: Keyword argument support for exec/eval?

2023-06-07 Thread Jelle Zijlstra
I would support allowing the globals and locals arguments to exec() to be passed as keyword arguments. Open an issue on https://github.com/python/cpython and if no other core devs object, we can fix this in 3.13. The actual code change would be very small thanks to Argument Clinic. El miƩ, 7 jun

[Python-ideas] Keyword argument support for exec/eval?

2023-06-07 Thread Raphael Gaschignard
I have searched for chatter about this in the past, and realize that churning about on this topic might be a bit of a time waster, but what would be required to make eval and exec be able to take keyword arguments? Explaining exec and eval, and not being able to use kwargs to establish an