This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Saimadhav.Heblikar
Recipients Saimadhav.Heblikar, Todd.Rovito, taleinat, terry.reedy
Date 2014-03-12.14:47:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394635645.24.0.47154308427.issue20827@psf.upfronthosting.co.za>
In-reply-to
Content
>>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.)  Using inspect creates >>the problems of getting ob.

This means instead of manually formatting,we use inspect.signature()?(Shall i try to first it on calltips and get back with the result?)


>>3. The patch does not handle nested classes (or their methods). If >>nested classes are found in the dictionary of 'methods' of the >>enclosing class, this should be possible to keep track of.

I think this is because pyclbr is responsible for parsing the source.(This patch only tries to extract the signature,given the method/class).issue1612262 also seems to convey that pyclbr is unable to detect nested classes.

So i will try to make changes to pyclbr , to detect nested classes.

After i complete the above two,i will report here and try to work on 
>>- add popup menu with more options (e.g. doc strings, base classes, >>imports)" possible. Docstrings could be kept as a view objest with >>start and stop positions until requested.



Also, your suggestion to import the class/methods only once ,will improve the performance,especially on bigger files.I'll modify the patch to reflect this too.
History
Date User Action Args
2014-03-12 14:47:25Saimadhav.Heblikarsetrecipients: + Saimadhav.Heblikar, terry.reedy, taleinat, Todd.Rovito
2014-03-12 14:47:25Saimadhav.Heblikarsetmessageid: <1394635645.24.0.47154308427.issue20827@psf.upfronthosting.co.za>
2014-03-12 14:47:25Saimadhav.Heblikarlinkissue20827 messages
2014-03-12 14:47:24Saimadhav.Heblikarcreate