[Python-ideas] History on proposals for Macros?

Ron Adam ron3200 at gmail.com
Sun Mar 29 23:47:59 CEST 2015


On 03/29/2015 01:21 PM, Ron Adam wrote:
> To allow macro like ability a code block needs to be executable in the
> current scope.  That can be done just by doing...
>
>      code(locals())      #  Dependable?

Just to clarify, this should have been...

       code_obj(locals())

Since I used "code" as the decorator name, this may have been a bit confusing.

Cheers,
    Ron



More information about the Python-ideas mailing list