Eric Snow added the comment: Sorry I wasn't clear. Later in type.__new__() it copies that passed namespace into a new dict (see issue #17422). So as long as the namespace argument is a valid argument to dict(), it's going to work fine. We don't need the extra explicit check performed by PyArg_ParseTupleAndKeywords().
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17421> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com