[pywin32-bugs] [ pywin32-Patches-3203451 ] Incorrect/missing file attribute constants
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2011-11-06 04:56:45
|
Patches item #3203451, was opened at 2011-03-08 15:18 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3203451&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: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Fredrik Orderud (fredrior) Assigned to: Nobody/Anonymous (nobody) Summary: Incorrect/missing file attribute constants Initial Comment: The seems to be some issues with the windows file attribute constants in win32/Lib/winnt.py. * FILE_ATTRIBUTE_ENCRYPTED seems to have incorrect value. * FILE_ATTRIBUTE_DEVICE, FILE_ATTRIBUTE_NOT_CONTENT_INDEXED and FILE_ATTRIBUTE_VIRTUAL are missing. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2011-11-05 21:56 Message: Thanks - the win32con patch already seems to have been applied, but I just imported and pushed your winnt change. ---------------------------------------------------------------------- Comment By: Fredrik Orderud (fredrior) Date: 2011-03-14 07:08 Message: The constants are retrieved from my local Windows SDK in: C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\WinNT.h I don't know if redistributing this fille is allowed, but you can find identical typedefs in (with the exception of FILE_ATTRIBUTE_VIRTUAL): http://source.winehq.org/source/include/winnt.h ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3203451&group_id=78018 |