Hacker News new | past | comments | ask | show | jobs | submit login

The PEP says that locals() and globals() solutions were considered, and discarded:

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: