Issue 4186: type() doesn't accept bases and dict keyword arguments (original) (raw)
Issue4186
Created on 2008-10-23 09:13 by barry, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (4) | ||
---|---|---|
msg75136 - (view) | Author: Barry A. Warsaw (barry) * ![]() |
Date: 2008-10-23 09:13 |
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. | ||
msg88873 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2009-06-04 10:07 |
2.6 has been released and out there some time, and there was no cry about this, so I guess this can be ignored. | ||
msg104400 - (view) | Author: Terry J. Reedy (terry.reedy) * ![]() |
Date: 2010-04-28 02:25 |
Since 'pending' is not implemented, should this be 'closed'? | ||
msg104487 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2010-04-29 11:57 |
Seems reasonable. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:40 | admin | set | github: 48436 |
2010-04-29 11:57:52 | r.david.murray | set | status: open -> closednosy: + r.david.murraymessages: + |
2010-04-28 02:25:21 | terry.reedy | set | status: pending -> opennosy: + terry.reedymessages: + |
2009-06-04 10:07:34 | georg.brandl | set | status: open -> pendingnosy: + georg.brandlmessages: + resolution: wont fix |
2009-05-16 01:15:43 | ajaksu2 | set | type: behaviorstage: test needed |
2008-10-23 09:13:30 | barry | create |