]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #3080: _PyWin_FindRegisteredModule() returns the path as Unicode
authorVictor Stinner <victor.stinner@haypocalc.com>
Tue, 8 Mar 2011 22:49:04 +0000 (23:49 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Tue, 8 Mar 2011 22:49:04 +0000 (23:49 +0100)
commit4d6c1c476aee975867c5375f9fc175f69d4b6266
tree9cc8d4268113b7062f8c5390d9bff9f54e16ffd9
parentdb536afee14ebd2b74488313e1b1db5cd17fefdc
Issue #3080: _PyWin_FindRegisteredModule() returns the path as Unicode

 * Document the function
 * Use RegQueryValueW() instead of RegQueryValueA()
 * Use _Py_fopen() instead of fopen()
 * Allocate registry key on the heap, not on the stack, and handle memory
   allocation failure
 * Handle Python exception in find_module()
PC/import_nt.c
Python/import.c