[pywin32-bugs] [ pywin32-Bugs-3199631 ] Syntax error in a gen_py generated file
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2011-04-23 13:20:12
|
Bugs item #3199631, was opened at 2011-03-05 00:56 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3199631&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: com Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Christophe de Vienne (cdevienne) Assigned to: Nobody/Anonymous (nobody) Summary: Syntax error in a gen_py generated file Initial Comment: When a Class method documentation has a trailing backslash, the generated cache file has a syntax error because the \ de-specialise the first closing double-quote of the docstring. The case I had is the following: # The method GetAlchemyDirectory is actually a property, but must be used as a method to correctly pass the arguments def GetAlchemyDirectory(self, MergeDirectory=False): """Get Alchemcy Directory eg C:\Agora\Settings\LsAlchemy\""" return self._ApplyTypes_(1745027165, 2, (8, 0), ((16395, 51),), u'G etAlchemyDirectory', None,MergeDirectory ) ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2011-04-23 23:20 Message: Thanks! Fixed in 6859167bf2ab ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3199631&group_id=78018 |