[Python-ideas] Inline Functions - idea

MRAB python at mrabarnett.plus.com
Thu Feb 6 01:37:35 CET 2014


On 2014-02-06 00:15, Guido van Rossum wrote:
> On Wed, Feb 5, 2014 at 2:26 PM, Ethan Furman <ethan at stoneleaf.us
> <mailto:ethan at stoneleaf.us>> wrote:
>
>     Possibly, but it's easy enough to simulate (at least in a read-only
>     fashion) with **locals().
>
>
> Eew. Use of locals() for any purpose other than debugging should be
> discouraged.
>
Even when you're using "format_map"?



More information about the Python-ideas mailing list