[Python-ideas] combining two threads: switch statements and inline functions
Chris Angelico
rosuav at gmail.com
Fri Feb 14 02:12:59 CET 2014
On Fri, Feb 14, 2014 at 12:00 PM, Ron Adam <ron3200 at gmail.com> wrote:
> It should be possibly to define a limited type of function that has a code
> object which is insert-able into in the byte code, but it would have some
> pretty limited restrictions.
>
> * Have all variables declared as non-local.
By "non-local" do you mean specifically the Python 3 "nonlocal"
keyword, or is it acceptable to declare globals?
ChrisA
More information about the Python-ideas
mailing list