Author serhiy.storchaka
Recipients paul.moore, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2020-07-01.18:15:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593627329.36.0.902328564176.issue41190@roundup.psfhosted.org>
In-reply-to
Content
There is an inconsistency in the _msi.SummaryInformation class. Its method SetProperty() accepts str, but GetProperty() returns bytes (encoded with the Windows ANSI encoding).

Since os.fsencode()/os.fsdecode() now use UTF-8 encoding, it is not so easy to convert between bytes and str. Also, the encoding with the Windows ANSI encoding is lossy, so it may be that there is a loss in GetProperty().
History
Date User Action Args
2020-07-01 18:15:29serhiy.storchakasetrecipients: + serhiy.storchaka, paul.moore, tim.golden, zach.ware, steve.dower
2020-07-01 18:15:29serhiy.storchakasetmessageid: <1593627329.36.0.902328564176.issue41190@roundup.psfhosted.org>
2020-07-01 18:15:29serhiy.storchakalinkissue41190 messages
2020-07-01 18:15:29serhiy.storchakacreate