[pywin32-bugs] [ pywin32-Bugs-1960311 ] 'None' returned for COM string constants
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2008-05-08 15:01:10
|
Bugs item #1960311, was opened at 2008-05-09 01:01 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1960311&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: Open Resolution: None Priority: 5 Private: No Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: 'None' returned for COM string constants Initial Comment: String constants in an IDL file have none returned. Eg, an IDL file has: module Constants { const char CharTest = -1; const LPWSTR StringTest = L"Hello Loraine"; }; and the generated .py file will have: class constants: CharTest =-1 # from enum Constants StringTest ='None' # from enum Constants Attaching a patch that demonstrates the problem, but I don't see the problem yet. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1960311&group_id=78018 |