RegQueryValueEx on empty multistring returns non-empty list
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
Somewhere along the line, win32api.RegQueryValueEx stopped returning [] for an empty multistring, and started returning [''], which is a very different and broken. Unfortunately, I'm not sure how far back this has been broken; I've only recently undertaken converting all our code from python 2.3.5 and pywin32 204 to python 2.7.3 and pywin32 217. It worked in that earlier incarnation, but as of the latest versions, this no longer functions properly.
I've attached a trivial python script that clearly demonstrates the problem.
code demonstrating bug when reading empty multistrings from the registry
This has been fixed, also added a test for this in test_win32api.py.
Thanks, Roger, that was fast! (Any idea when the next build (218) will be done?)
You're welcome. Not sure when Mark is planning another release.