Douman added the comment: Btw, i also tried to replace **kwargs with usual argument and it didn't throw exception ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue23245> _______________________________________