Amaury Forgeot d'Arc added the comment: Note that all these cases are compatible with "tp_init returns 0 on success and -1 on error". ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17380> _______________________________________