Message359068
> The doc for exec says globals "must be a dictionary (and not a subclass of dictionary)"
Docs are full of mistakes and outdated information.
Fixing STORE_GLOBAL case from https://bugs.python.org/issue36220#msg359046 would be trivial and cheap re: overheads. And useful, yeah.
And the gentleman who submitted the other ticket argues that:
> but the inconsistency between LOAD_NAME and LOAD_GLOBAL definitely seems wrong.
Which is easy to agree with, though there're more concerns re: runtime overhead. |
|
Date |
User |
Action |
Args |
2019-12-30 23:00:11 | pfalcon | set | recipients:
+ pfalcon, terry.reedy, vstinner, ppperry, pablogsal |
2019-12-30 23:00:11 | pfalcon | set | messageid: <1577746811.77.0.555053056271.issue32615@roundup.psfhosted.org> |
2019-12-30 23:00:11 | pfalcon | link | issue32615 messages |
2019-12-30 23:00:11 | pfalcon | create | |
|