Message304371
| Author |
arigo |
| Recipients |
Mark.Shannon, arigo, belopolsky, benjamin.peterson, gvanrossum, ncoghlan, njs, xdegaye, xgdomingo, yselivanov |
| Date |
2017年10月14日.04:05:30 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1507953931.62.0.213398074469.issue30744@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|