[Bug: 817035] Exception while browsing python path- Wont Fix
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
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
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
Logged In: YES
user_id=14198
I have fixed this - thanks!