New submission from Benjamin S Wolf :
Positional-only arguments come before position-or-keyword arguments.
def f(pos1, pos2, /, pos_or_kwd, *, kwd1, kwd2):
However, the posonlyargs are defined to come after args in the AST:
arguments = (arg* args, arg* posonlyargs, arg? vararg, arg
New submission from Benjamin S Wolf :
(Python 3.2.3)
1. After discarding the module run_path used to run the code in, all references
to variables from local scopes (even if they are references to global
variables) are bound to None, preventing any code in functions from running
properly