Message304371
Guido: you must be tired and forgot that locals() is a regular function :-) The compiler cannot recognize it reliably. Moreover, if f_locals can be modified outside a tracing hook, then we have the same problem in a cross-function way, e.g. if function f1() calls function f2() which does sys._getframe(1).f_locals['foo'] = 42. | |
| Date | User | Action | Args | | 2017-10-14 04:05:32 | arigo | set | recipients: + arigo, gvanrossum, ncoghlan, belopolsky, benjamin.peterson, njs, xdegaye, Mark.Shannon, yselivanov, xgdomingo | | 2017-10-14 04:05:31 | arigo | set | messageid: <1507953931.62.0.213398074469.issue30744@psf.upfronthosting.co.za> | | 2017-10-14 04:05:31 | arigo | link | issue30744 messages | | 2017-10-14 04:05:30 | arigo | create | | |