New submission from Barry A. Warsaw <[EMAIL PROTECTED]>: According to bug 1683368, Python 3.0's object.__init__() no longer accepts arbitrary keyword arguments. What's new in Python 2.6 says the same thing has been implemented in 2.6. However, type() no longer accepts /any/ keyword arguments, including the documented 'bases' and 'dict' keyword arguments. This seems to be a bug.
It's not clear to me we no longer want to support type()'s documented keyword arguments, but even if we do, we should deprecate them in 2.6 and remove them in 2.7. The work around is fairly easy (pass positional args), but this will still break existing code. ---------- components: Interpreter Core messages: 75136 nosy: barry priority: critical severity: normal status: open title: type() doesn't accept bases and dict keyword arguments versions: Python 2.6 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4186> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com