Serhiy Storchaka added the comment: You can use "p" format in PyArg_ParseTuple* for boolean parameters. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue13773> _______________________________________