[issue41609] pdb's whatis command reports method as function

2020-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: Thank you for your contribution, Irit! -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue41609] pdb's whatis command reports method as function

2020-08-26 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue41609] pdb's whatis command reports method as function

2020-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7361451b97a30de0e758094ac83a1fb1f01ed5bb by Miss Islington (bot) in branch '3.9': bpo-41609: Fix output of pdb's whatis command for instance methods (GH-21935) (#21977) https://github.com/python/cpython/commit/7361451b97a30de0e758094ac83a1fb1f01ed

[issue41609] pdb's whatis command reports method as function

2020-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 641279e6e51b5d2e10d3fbffe6330e47c94c4bb2 by Miss Islington (bot) in branch '3.8': bpo-41609: Fix output of pdb's whatis command for instance methods (GH-21935) (#21976) https://github.com/python/cpython/commit/641279e6e51b5d2e10d3fbffe6330e47c94c4

[issue41609] pdb's whatis command reports method as function

2020-08-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +21085 pull_request: https://github.com/python/cpython/pull/21976 ___ Python tracker _

[issue41609] pdb's whatis command reports method as function

2020-08-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +21086 pull_request: https://github.com/python/cpython/pull/21977 ___ Python tracker ___ __

[issue41609] pdb's whatis command reports method as function

2020-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 022bc7572f061e1d1132a4db9d085b29707701e7 by Irit Katriel in branch 'master': bpo-41609: Fix output of pdb's whatis command for instance methods (GH-21935) https://github.com/python/cpython/commit/022bc7572f061e1d1132a4db9d085b29707701e7 -

[issue41609] pdb's whatis command reports method as function

2020-08-23 Thread Irit Katriel
Irit Katriel added the comment: It should really use inspect.* functions but I think that should be done separately from this fix. -- ___ Python tracker ___ _

[issue41609] pdb's whatis command reports method as function

2020-08-22 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue41609] pdb's whatis command reports method as function

2020-08-21 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +21049 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21935 ___ Python tracker ___ ___

[issue41609] pdb's whatis command reports method as function

2020-08-21 Thread Irit Katriel
Irit Katriel added the comment: The reason for this that it first checks whether there is a __code__ attribute (which both methods and functions have) and only afterwards checks for __func__.__code__. I will submit a patch with a test and fix shortly. -- __

[issue41609] pdb's whatis command reports method as function

2020-08-21 Thread Irit Katriel
New submission from Irit Katriel : pdb's whatis command prints 'Function' instead of 'Method' for a bound method: > python.bat Running Release|Win32 interpreter... Python 3.10.0a0 (heads/master-dirty:12695f4c6d, Aug 21 2020, 15:48:06) [MSC v.1916 32 bit (Intel)] on win32 Type "help", "copyrigh