Skip to content

Fix for unchecked __class__ access in signals pane #130

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

Closed
wants to merge 2 commits into from

Conversation

btubbs
Copy link

@btubbs btubbs commented Jan 21, 2011

It's possible for the im_self attribute of a receiver to not have a __class__ attribute, if im_self is a metaclass instead. When that happens, you get an error like class MpttMeta has no attribute __class__.

This patch fixes that by checking for the presence of the __class__ attribute before attempting to use it.

@marltu
Copy link

marltu commented Apr 19, 2011

Please pull this, really annoying one. Thanks.

@jezdez
Copy link
Contributor

jezdez commented Apr 6, 2012

Fixed in c4eeef2.

@jezdez jezdez closed this Apr 6, 2012
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.

3 participants