Chris's Wiki :: blog/python/MisleadingFLocals Commentshttps://utcc.utoronto.ca/~cks/space/blog/python/MisleadingFLocals?atomcommentsDWiki2009-08-26T14:40:26ZRecent comments in Chris's Wiki :: blog/python/MisleadingFLocals.From 209.124.161.130 on /blog/python/MisleadingFLocalstag:CSpace:blog/python/MisleadingFLocals:85e12283a3d248e16da1f2452c38218cf011609bFrom 209.124.161.130<div class="wikitext"><p>Oh, and I should add, the last two comments have been written by Bill Mill.</p>
<p>-Bill Mill</p>
</div>2009-08-26T14:40:26ZFrom 209.124.161.130 on /blog/python/MisleadingFLocalstag:CSpace:blog/python/MisleadingFLocals:553062150876c7d611179c69e479a08f8fe10ca5From 209.124.161.130<div class="wikitext"><blockquote><p>Perhaps it would be better if f_locals was always read only.</p>
</blockquote>
<p>That would definitely be less confusing. I also feel like I should write a doc patch to add some detail to the inspect module's docs.</p>
<p>And your quote about modifying f_locals only being useful for "dubious hacks" in the page you link is extremely accurate :)</p>
</div>2009-08-26T14:39:29Z