To quote the documentation for
eval: Built-in Functions — Python 3.9.2 documentation
eval(expression[, globals[, locals]])
The expression argument is parsed and evaluated as a Python expression (technically speaking, a condition list) using the globals and locals dictionaries as global and local namespace.
My question: What does “a condition list” mean in this context?
I tried searching for similar phrases with
grep in the documentations, but this one appeared to be the only hit. I took a cursory glance at the functions implementing
eval() but can’t find any reference to this concept either.
Can you help me?
(Context: I was looking at Issue 43605 and trying to see if I could help with documenting
eval(). Then I found I didn’t quite understand the existing documentation.)