Skip to content

Fix crash in super() outside methods #2932

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 6, 2017
Merged

Conversation

ilevkivskyi
Copy link
Member

@ilevkivskyi ilevkivskyi commented Mar 1, 2017

Fixes #2848

Although super() outside methods works at runtime, such use case is rare, so that I just fix the crash here. Support for such use case may be added later in a separate PR (there is already an issue #526 to track such feature).

@JukkaL
Copy link
Collaborator

JukkaL commented Mar 6, 2017

Thanks for the fix!

@JukkaL JukkaL merged commit e2d42f8 into python:master Mar 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash in super() outside a method
2 participants