Skip to content

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 serhiy-storchaka requested a review from pitrou July 31, 2017 19:36
@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