2 ms·
The PEP says that locals() and globals() solutions were considered, and discarded: https://www.python.org/dev/peps/pep-0498/#no-use-of-globals-or-locals https:
by roywiggins 11y ago
The PEP says that locals() and globals() solutions were considered, and discarded:
https://www.python.org/dev/peps/pep-0498/#no-use-of-globals-or-locals https://www.python.org/dev/peps/pep-0498/#no-use-of-globals-...
You could argue that's not a good enough reason, but it's there.