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

Cleanup inspect.py #5351

Merged
merged 1 commit into from
Feb 9, 2018
Merged

Cleanup inspect.py #5351

merged 1 commit into from
Feb 9, 2018

Conversation

srinivasreddy
Copy link
Contributor

No description provided.

* use isinstance(..)  instead of type(..)
* use  '.. not in ..'  instead of 'not .. in ..	'
@srinivasreddy srinivasreddy changed the title A small code refactorings Code refactor Jan 27, 2018
@methane methane changed the title Code refactor Cleanup inspect.py Jan 29, 2018
@methane methane merged commit feaefc7 into python:master Feb 9, 2018
@srinivasreddy srinivasreddy deleted the refactor branch February 10, 2018 07:57
methane added a commit to methane/cpython that referenced this pull request Sep 4, 2019
It should avoid dynamic lookup including `isinstance`.

This is regression caused by pythonGH-5351.
methane added a commit that referenced this pull request Sep 5, 2019
It should avoid dynamic lookup including `isinstance`.

This is a regression caused by GH-5351.
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 5, 2019
It should avoid dynamic lookup including `isinstance`.

This is a regression caused by pythonGH-5351.
(cherry picked from commit 8f9cc87)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
miss-islington added a commit that referenced this pull request Sep 5, 2019
It should avoid dynamic lookup including `isinstance`.

This is a regression caused by GH-5351.
(cherry picked from commit 8f9cc87)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
It should avoid dynamic lookup including `isinstance`.

This is a regression caused by pythonGH-5351.
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
It should avoid dynamic lookup including `isinstance`.

This is a regression caused by pythonGH-5351.
websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request Jul 20, 2020
It should avoid dynamic lookup including `isinstance`.

This is a regression caused by pythonGH-5351.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants