[issue15753] No-argument super in method with variable arguments raises SystemError
James
report at bugs.python.org
Thu Aug 23 21:13:46 CEST 2012
James added the comment:
I've attached a patch that I think fixes the variable arguments problem, and changes the SystemErrors that can be obtained by misusing super() into RuntimeErrors (I assume that's more appropriate?). There are three more SystemErrors I'm not sure about: "super(): no code object", "super(): bad __class__ cell", and "super(): empty __class__ cell" - can they only be caused by internal bugs?
----------
keywords: +patch
Added file: http://bugs.python.org/file26976/issue15753_varargsuper.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15753>
_______________________________________
More information about the Python-bugs-list
mailing list