This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: super() and instancemethod() shouldn't accept keyword args
Type: Stage:
Components: Interpreter Core Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, zseil
Priority: normal Keywords: patch

Created on 2006-09-29 12:58 by zseil, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
disallow_kwargs.diff zseil, 2006-09-29 12:58 patch against trunk revision 52034
Messages (2)
msg51179 - (view) Author: Ziga Seilnacht (zseil) * (Python committer) Date: 2006-09-29 12:58
Constructors for the super() and instancemethod()
types currently accept keyword arguments, but
don't do anything with them.

The patch fixes this by raising a TypeError when
they are present.
msg51180 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-09-30 08:44
Logged In: YES 
user_id=849994

Thanks for the patch, applied as rev. 52058, 52059 (2.4),
52060 (2.5).
History
Date User Action Args
2022-04-11 14:56:20adminsetgithub: 44052
2006-09-29 12:58:55zseilcreate