Skip to content
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

bpo-31091: remove dead code. #2963

Merged
merged 1 commit into from
Jul 31, 2017
Merged

Conversation

scoder
Copy link
Contributor

@scoder scoder commented Jul 31, 2017

According to the comment, there was previously a call to PyObject_IsSubclass() involved which could fail, but since it was replaced with a call to PyType_IsSubtype(), it can no longer fail.

https://bugs.python.org/issue31091

According to the comment, there was previously a call to PyObject_IsSubclass() involved which could fail, but since it was replaced with a call to PyType_IsSubtype(), it can no longer fail.
@scoder scoder changed the title Remove dead code. bpo-31091: remove dead code. Jul 31, 2017
@serhiy-storchaka
Copy link
Member

LGTM, but let to see what said @pitrou (the author of the comment and previous change).

Copy link
Member

@pitrou pitrou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as the tests still pass I'm fine with this.

@serhiy-storchaka serhiy-storchaka merged commit e4c06bc into python:master Jul 31, 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.

4 participants