Message212555
| Author |
Saimadhav.Heblikar |
| Recipients |
Saimadhav.Heblikar, Todd.Rovito, taleinat, terry.reedy |
| Date |
2014年03月02日.15:05:22 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1393772724.12.0.548840750027.issue20827@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 "inspect.getargspec" to get the function argument list.a new function called FormatArgumentList() is used to beautify and display only the relevant arguments.
in short,it displays the arguments for that function.previously, it was
def foo(...)
now it is,
def foo(bar1,bar2,*spam,**spam2,defaults=(5,))
2.Adds a human test dialog for ClassBrowser.
Currently there are no specific tests for ClassBrowser.
hence,i have also created test stubs for ClassBrowser.(ns:it is NOT present in this patch).
One way or another, will send in the patch which will add tests.(i'm waiting to know whether we go forward on 1 and 2). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年03月02日 15:05:24 | Saimadhav.Heblikar | set | recipients:
+ Saimadhav.Heblikar, terry.reedy, taleinat, Todd.Rovito |
| 2014年03月02日 15:05:24 | Saimadhav.Heblikar | set | messageid: <1393772724.12.0.548840750027.issue20827@psf.upfronthosting.co.za> |
| 2014年03月02日 15:05:24 | Saimadhav.Heblikar | link | issue20827 messages |
| 2014年03月02日 15:05:23 | Saimadhav.Heblikar | create |
|