]> granicus.if.org Git - python/commit
[3.6] bpo-12239: Make GetProperty() return None for VT_EMPTY (GH-4539)
authorBerker Peksag <berker.peksag@gmail.com>
Fri, 24 Nov 2017 16:04:40 +0000 (19:04 +0300)
committerGitHub <noreply@github.com>
Fri, 24 Nov 2017 16:04:40 +0000 (19:04 +0300)
commit412f00b839eae2bc07ca08a8e615c3d7dc870646
tree126196c0b0e68358561f2f3687ab90a144281491
parentbfa89b21e119bac7fed4a5decc26f1fff8ec359e
[3.6] bpo-12239: Make GetProperty() return None for VT_EMPTY (GH-4539)

The previous behavior was to raise an exception

    NotImplementedError: result of type 0

when the value of the property is VT_EMPTY.

(cherry picked from commit 19fb134185ce155bc53f517116fca73093ba55e9)
Lib/test/test_msilib.py
Misc/NEWS.d/next/Library/2017-11-24-14-07-55.bpo-12239.Nj3A0x.rst [new file with mode: 0644]
PC/_msi.c