[issue20827] IDLE : Display function argument list in ClassBrowser

2017-09-27 Thread Tal Einat
Change by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue20827] IDLE : Display function argument list in ClassBrowser

2017-09-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: As with removing icons (#25090), moving 'highlight line in editor' from double click to single click is not trivial. Single click behavior is baked into tree. TreeNode. TreeItems can only override or augment double-click behavior. I am deferring 'improve

[issue20827] IDLE : Display function argument list in ClassBrowser

2017-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Having fixed the nested functions and classes issue, and thought some more, I have two other concerns with adding signatures in the browser, and a different solution. 1. Time: When requested, the browser window comes up immediately with the module node. Ther

[issue20827] IDLE : Display function argument list in ClassBrowser

2017-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Miscellaneous comments: 1. ClassBrowser.main, changed in Heblikar's patch and referred to in the discussion, was the predecessor to the current browser._module_browser htest function. I have not looked at the patch in detail, but it would have to be revised

[issue20827] IDLE : Display function argument list in ClassBrowser

2017-09-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: Terry, I had an idea about this when I was working on the docstrings and the original patches. I've attached a diff for the first step of my suggested patch. I think you get the idea where I'm going with it, but I just call the same code that pyclbr uses t

[issue20827] IDLE : Display function argument list in ClassBrowser

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue20827] IDLE : Display function argument list in ClassBrowser

2014-03-18 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: The old file had a typo and i have removed it. The new file does everything stated in msg213722 and also has the errors removed. I have added tests for the little change in code to pyclbr.its called test_string_source. All the tests related to pyclbr pass

[issue20827] IDLE : Display function argument list in ClassBrowser

2014-03-18 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Removed file: http://bugs.python.org/file34439/classbrowser-improvements-v2.patch ___ Python tracker ___ ___

[issue20827] IDLE : Display function argument list in ClassBrowser

2014-03-16 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: I have added a improved patch. What this patch does: 1. resolves issue 1 of msg213193 - uses inspect. signature() instead of inspect.getargspec. 2. resolves issue 2 of msg213193 - the module is imported only once per ClassBrowser instance. 3. resolves i

[issue20827] IDLE : Display function argument list in ClassBrowser

2014-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: inspect.signature is now the official way to get signatures (sort of the 3rd). It now works with some builtins, and will work with most by the time 3.5 is released. It includes removing the first parameter of bound methods. If it does not work correctly for so

[issue20827] IDLE : Display function argument list in ClassBrowser

2014-03-12 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: >>1. Idle is getting out of the business of formatting signatures. If we >>use >>inspect, '(...)' should simply be replaced (in 3.3+) by str(inspect.signature(ob)). (I plan to change calltips to do this >>instead >>of using two older inspect functions.

[issue20827] IDLE : Display function argument list in ClassBrowser

2014-03-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: ClassBrowser has multiple problems. I agree with the goal of given signatures. But the patch has these problems. 1. Idle is getting out of the business of formatting signatures. If we use inspect, '(...)' should simply be replaced (in 3.3+) by str(inspect.sig

[issue20827] IDLE : Display function argument list in ClassBrowser

2014-03-02 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: The proposed patch 1.implements a TODO for ClassBrowser . it was (sic)show function argument list? (have to do pattern matching on source).my patch does not do pattern matching in the real sense of the phrase.it uses "imp" to import the module source and