def limited(func):
def f(standard=False, **args):<EOL><INDENT>insert_pos = len(<EOL>inline_stack.names<EOL>)  <EOL>res = func(**args)<EOL>if len(res) > LINE_LEN_LIMIT:<EOL><INDENT>name = inline_stack.require('<STR_LIT>')<EOL>inline_stack.names.pop()<EOL>inline_stack.names.insert(insert_pos, name)<EOL>res = '<STR_LIT>' % (name, res)<EOL>inline_stack.define(name, res)<EOL>return name + '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>return res<EOL><DEDENT><DEDENT>f.__dict__['<STR_LIT>'] = func<EOL>return f<EOL>
Decorator limiting resulting line length in order to avoid python parser stack overflow -
      If expression longer than LINE_LEN_LIMIT characters then it will be moved to upper line
     USE ONLY ON EXPRESSIONS!!!