"Zeev Hadar" <zeev at clockwise3d.com> writes: > Please direct me for how to achieve it in Python extension. You probably will have to extend the Python syntax for that. Start with Grammar/Grammar, proceed to Python/compile.c, invent new byte codes, proceed to Python/ceval.c. Extending dis.py and the compiler package is optional. HTH, Martin