Serhiy Storchaka added the comment: Please review this patch. I will extract template part into separated file in separated commit. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18685> _______________________________________