[issue31506] Improve the error message logic for object_new & object_init

Serhiy Storchaka report at bugs.python.org
Mon Sep 18 11:18:13 EDT 2017


Serhiy Storchaka added the comment:

What do you expect for:

class C: pass

object.__new__(C, 1)
C.__new__(C, 1)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31506>
_______________________________________


More information about the Python-bugs-list mailing list