[issue29418] inspect.isroutine does not return True for some bound builtin methods

2022-02-17 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: New changeset 02815d939362d4093a95da650e7fbddabf147eb0 by Hakan Çelik in branch 'main': bpo-29418: Add inspect.ismethodwrapper to whatsnew (GH-31377) https://github.com/python/cpython/commit/02815d939362d4093a95da650e7fbddabf147eb0 -- nosy:

[issue29418] inspect.isroutine does not return True for some bound builtin methods

2022-02-16 Thread Hakan Çelik
Change by Hakan Çelik : -- pull_requests: +29527 pull_request: https://github.com/python/cpython/pull/31377 ___ Python tracker ___

[issue29418] inspect.isroutine does not return True for some bound builtin methods

2022-02-16 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue29418] inspect.isroutine does not return True for some bound builtin methods

2022-02-16 Thread miss-islington
miss-islington added the comment: New changeset 562c13f5734d406b2283cfca673611f4b496fdc7 by Hakan Çelik in branch 'main': bpo-29418: Implement inspect.ismethodwrapper and fix inspect.isroutine for cases where methodwrapper is given (GH-19261)

[issue29418] inspect.isroutine does not return True for some bound builtin methods

2020-03-31 Thread Hakan
Change by Hakan : -- keywords: +patch nosy: +hakancelik nosy_count: 3.0 -> 4.0 pull_requests: +18617 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19261 ___ Python tracker

[issue29418] inspect.isroutine does not return True for some bound builtin methods

2017-02-02 Thread Manuel Krebber
New submission from Manuel Krebber: Some of the builtin methods are not recognized as such by inspect.isroutine(). inspect.ismethoddescriptor() only returns True for the unbound versions of the methods but not the bound ones. For example: >>> inspect.isroutine(object.__str__) True >>>