[New-bugs-announce] [issue12201] Returning FILETIME is unsupported in msilib.SummaryInformation.GetProperty()

Mark Mc Mahon report at bugs.python.org
Sat May 28 15:53:46 CEST 2011


New submission from Mark Mc Mahon <mtnbikingmark at gmail.com>:

In _msi.c, summary_getproperty() and summary_setproperty() raise an exception if the type being set/got is VT_FILETIME. 

This issue is to track adding support for (or declining to support) FILETIMEs in msilib.SummaryInformation.GetProperty()/SetProperty().

I have included a patch which adds this support (with some basic tests).
Should this function accept/return datetime.datetime - or a timestamp (both require conversion anyway). I have used datetimes in my patch.

----------
components: Windows
files: add_FILETIME_support_to_summary_info.patch
keywords: patch
messages: 137130
nosy: loewis, markm
priority: normal
severity: normal
status: open
title: Returning FILETIME is unsupported in msilib.SummaryInformation.GetProperty()
versions: Python 3.2
Added file: http://bugs.python.org/file22163/add_FILETIME_support_to_summary_info.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12201>
_______________________________________


More information about the New-bugs-announce mailing list