Skip to content

Fix crash in super() outside methods - #2932

Merged
JukkaL merged 1 commit into
python:masterfrom
ilevkivskyi:fix-super
Mar 6, 2017
Merged

JukkaL merged 1 commit into
python:masterfrom
ilevkivskyi:fix-super

Conversation

@ilevkivskyi

@ilevkivskyi ilevkivskyi commented Mar 1, 2017 •

Copy link
Copy Markdown
Member

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

JukkaL commented Mar 6, 2017

Copy link
Copy Markdown
Collaborator

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