Bugs item #821684, was opened at 2003-10-11 05:27
Message generated for change (Comment added) made by rupole
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=821684&group_id=78018
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pythonwin
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Tim Diggins (tdiggins)
Assigned to: Nobody/Anonymous (nobody)
Summary: function <def>s not working in module-browser pane
Initial Comment:
As of pythonwin 157 (at least on my version on
Win2000), when you drag out the left-hand margin to
show the module-browser pane (not sure of correct
python win terminology here), the functions are no
longer displayed, nor work correctly.
Instead they just display <pyclbr.Function instance
at ...> and double clicking on them gives status
line "Can not locate the source code for this object".
The reason for this is that pyclbr.Function used to be an
subclass of pyclbr.Class but no longer is.
Thus an attribute error is raised at the wrong point in
pywin.framework.editor.ModuleBrowser.HierListCLBRClass
(because a pyclbr.Function no longer has redundant
attributes super and methods)
A way to fix this is to mirror the change and give
ModuleBrowser.HierListCLBRFunction its own __init__
and make it inherit directly from
ModuleBrowser.HierListCLBRItem. I include a file with
JUST the necessary changes (the redefinition of
ModuleBrowser.HierListCLBRFunction).
best
Tim
----------------------------------------------------------------------
>Comment By: Roger Upole (rupole)
Date: 2008-02-26 08:00
Message:
Logged In: YES
user_id=771074
Originator: NO
This appears to have been fixed in ModuleBrowser.py r1.7.
----------------------------------------------------------------------
Comment By: Tim Diggins (tdiggins)
Date: 2003-10-17 03:37
Message:
Logged In: YES
user_id=263040
Oops - this is the same as #794193. I should have added my
comments there. The code already submitted addresses
comments by Christopher J. Prinos (cprinos) to that bug.
https://sourceforge.net/tracker/?
func=detail&atid=551954&aid=794193&group_id=78018
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=821684&group_id=78018
|