[pywin32-bugs] [ pywin32-Patches-886588 ] [Bug: 817035] Exception while browsing python path
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-01-31 02:40:02
|
Patches item #886588, was opened at 2004-01-29 01:56 Message generated for change (Settings changed) made by dzuki You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=886588&group_id=78018 Category: None Group: None Status: Open >Resolution: Wont Fix Priority: 5 Submitted By: Maxim Sokolov (dzuki) Assigned to: Nobody/Anonymous (nobody) Summary: [Bug: 817035] Exception while browsing python path 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: Maxim Sokolov (dzuki) Date: 2004-01-29 02: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 |