Patches item #886588, was opened at 2004-01-29 09:56
Message generated for change (Comment added) made by mhammond
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551956&aid=886588&group_id=78018
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Maxim Sokolov (dzuki)
Assigned to: Nobody/Anonymous (nobody)
Summary: [Bug: 817035] Exception while browsing python path- Wont Fix
Initial Comment:
The problem is that self.name for module level functions
containes Function object and not string object.
I have pached it with:
lib\site-packages\Pythonwin\pywin\tools\browseProjects.
py
line 26:
return self.name + self.suffix
changed to:
name = self.name
if not isinstance(self.name, type("")):
name = self.name.name
return name + self.suffix
----------------------------------------------------------------------
>Comment By: Mark Hammond (mhammond)
Date: 2004-07-13 15:30
Message:
Logged In: YES
user_id=14198
I have fixed this - thanks!
----------------------------------------------------------------------
Comment By: Maxim Sokolov (dzuki)
Date: 2004-01-29 10:00
Message:
Logged In: YES
user_id=264383
Right formatting:
name = self.name
if not isinstance(self.name, type("")):
name = self.name.name
return name + self.suffix
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551956&aid=886588&group_id=78018
|