Serhiy Storchaka added the comment: Agree, applying simple steps one by one would be more robust. How large the benefit, do you have any timing results? ---------- nosy: +pitrou _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue23359> _______________________________________