ugly support for string.format method in py_renderer
removed py_renderer - default_renderer fals back to string.format directly