Skip to content

bpo-29418: Implement inspect.ismethodwrapper and fix inspect.isroutine for cases where methodwrapper is given#19261

Merged
miss-islington merged 18 commits intopython:mainfrom
hakancelikdev:bpo-29418
Feb 16, 2022
Merged

bpo-29418: Implement inspect.ismethodwrapper and fix inspect.isroutine for cases where methodwrapper is given#19261
miss-islington merged 18 commits intopython:mainfrom
hakancelikdev:bpo-29418

Conversation

@hakancelikdev
Copy link
Copy Markdown
Contributor

@hakancelikdev hakancelikdev commented Mar 31, 2020

https://bugs.python.org/issue29418

Automerge-Triggered-By: GH:isidentical

@hakancelikdev hakancelikdev changed the title bpo-29418: Fix this issue, add new function named ismethodwrapper and more test write to isroutine function of inspect module bpo-29418: Fix this issue, add new function named ismethodwrapper. Mar 31, 2020
@hakancelikdev hakancelikdev changed the title bpo-29418: Fix this issue, add new function named ismethodwrapper. bpo-29418: Fix, return True if the object is a method-wrapper add new function named ismethodwrapper Mar 31, 2020
@isidentical isidentical requested a review from 1st1 April 16, 2020 10:42
@hakancelikdev hakancelikdev changed the title bpo-29418: Fix, return True if the object is a method-wrapper add new function named ismethodwrapper Implement inspect.ismethodwrapper and fix inspect.isroutine for cases where methodwrapper is given Apr 17, 2020
@hakancelikdev hakancelikdev changed the title Implement inspect.ismethodwrapper and fix inspect.isroutine for cases where methodwrapper is given bpo-29418: Implement inspect.ismethodwrapper and fix inspect.isroutine for cases where methodwrapper is given Apr 17, 2020
Copy link
Copy Markdown
Contributor

@taleinat taleinat left a comment

Choose a reason for hiding this comment

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

This looks very good! I only have a few minor requests.

Comment thread Doc/whatsnew/3.9.rst Outdated
Comment thread Doc/library/inspect.rst Outdated
Comment thread Lib/inspect.py Outdated
Comment thread Lib/test/test_inspect.py Outdated
@bedevere-bot
Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@hakancelikdev
Copy link
Copy Markdown
Contributor Author

I have made the requested changes; please review again

@bedevere-bot
Copy link
Copy Markdown

Thanks for making the requested changes!

@taleinat: please review the changes made to this pull request.

Copy link
Copy Markdown
Contributor

@taleinat taleinat left a comment

Choose a reason for hiding this comment

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

Looks very good! A couple of small suggestions.

Comment thread Lib/inspect.py Outdated
Comment thread Lib/test/test_inspect.py Outdated
@hakancelikdev
Copy link
Copy Markdown
Contributor Author

I have made the requested changes; please review again

@bedevere-bot
Copy link
Copy Markdown

Thanks for making the requested changes!

@taleinat: please review the changes made to this pull request.

@hakancelikdev
Copy link
Copy Markdown
Contributor Author

I have made the requested changes; please review again

@bedevere-bot
Copy link
Copy Markdown

Thanks for making the requested changes!

@taleinat: please review the changes made to this pull request.

Comment thread Doc/whatsnew/3.10.rst Outdated
Comment thread Doc/whatsnew/3.10.rst Outdated
Comment thread Doc/whatsnew/3.10.rst Outdated
Comment thread Lib/inspect.py Outdated
hakancelikdev and others added 2 commits February 15, 2022 23:41
Co-authored-by: Batuhan Taskaya <[email protected]>
Co-authored-by: Batuhan Taskaya <[email protected]>
Comment thread Doc/whatsnew/3.10.rst Outdated
Comment thread Doc/whatsnew/3.10.rst Outdated
Comment thread Doc/whatsnew/3.10.rst Outdated
Copy link
Copy Markdown
Contributor

@asvetlov asvetlov left a comment

Choose a reason for hiding this comment

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

LGTM

@miss-islington
Copy link
Copy Markdown
Contributor

@hakancelik96: Status check is done, and it's a failure ❌ .

@miss-islington
Copy link
Copy Markdown
Contributor

@hakancelik96: Status check is done, and it's a success ✅ .

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.

7 participants