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.

Author vstinner
Recipients benjamin.peterson, python-dev, snoeberger, vstinner
Date 2014-05-12.23:35:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399937740.81.0.0214437363062.issue21418@psf.upfronthosting.co.za>
In-reply-to
Content
"While embedding the Python interpreter in an application, I have encountered a crash when the built-in function 'super' is invoked with no arguments."

This is not supported. When super() is invoked with no arguments, the class is retrieved (indirectly) from the current frame. In your example, there is no current frame. You can workaround this limitation by passing explicitly the class to super.

The crash should be fixed: a RuntimeError is now raised.
History
Date User Action Args
2014-05-12 23:35:40vstinnersetrecipients: + vstinner, benjamin.peterson, python-dev, snoeberger
2014-05-12 23:35:40vstinnersetmessageid: <1399937740.81.0.0214437363062.issue21418@psf.upfronthosting.co.za>
2014-05-12 23:35:40vstinnerlinkissue21418 messages
2014-05-12 23:35:40vstinnercreate