Victor Stinner
4d6c1c476a
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()
2011-03-08 23:49:04 +01:00
Victor Stinner
9b99b448f7
Issue #3080 : Mark PyWin_FindRegisteredModule() as private
...
This function was not declared in Python public API (in any .h file) and not
documented. Mark it as private to prepare a change of its API.
2011-02-22 23:12:28 +00:00
Antoine Pitrou
f95a1b3c53
Recorded merge of revisions 81029 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
2010-05-09 15:52:27 +00:00
Martin v. Löwis
18e165558b
Merge ssize_t branch.
2006-02-15 17:27:45 +00:00
Barry Warsaw
58ab084ac6
PyWin_FindRegisteredModule(): Conversion of sprintf() to
...
PyOS_snprintf() for buffer overrun avoidance.
2001-11-28 21:03:37 +00:00
Tim Peters
0d5dd68692
Python.h: Don't attempt to redefine NDEBUG if it's already defined.
...
Others: Remove redundant includes of assert.h.
2001-07-15 18:38:47 +00:00
Mark Hammond
48b3eee170
Registered modules could only exist in HKEY_LOCAL_MACHINE - now HKEY_CURRENT_USER can override.
2000-08-22 11:20:21 +00:00
Tim Peters
db6382941b
Squash signed-vs-unsigned warning. Also edits to bring into line
...
with Python coding stds (max line length, C-style comments).
2000-07-03 23:51:17 +00:00
Guido van Rossum
1c44e28766
Trent Mick: familiar simple Win64 patches
2000-06-28 22:20:06 +00:00
Guido van Rossum
4f3cc35cc1
Get rid of Win32s check.
2000-04-04 22:48:55 +00:00
Guido van Rossum
945554709e
Bruce Wheeler quotes Mark Hammond with a different version of the
...
last patch to this file: use pathLen, not bufSize, as the initializer.
1999-01-14 22:40:30 +00:00
Guido van Rossum
76ec53c64d
Subject: Bug in PC/import_nt.c
...
From: Dan Pierson <dan@remote.control.com>
To: "Mark Hammond (E-mail)" <MHammond@skippinet.com.au>,
"Guido van Rossum (E-mail)" <guido@cnri.reston.va.us>
Date: Mon, 8 Jun 1998 17:25:07 -0400
RegistryQueryValue requires that its fourth argument be initialized to
the length of the buffer being passed in, this wasn't being done. I
also split the call and status test into two lines with a local variable
so that I could look at the status in the debugger.
1998-06-15 18:01:34 +00:00
Guido van Rossum
1c096b7289
Mark Hammond writes:
...
Also, here is a new version of import_nt.c, which allows you to register a
Debug module in the registry. While I was there I removed some of the
ugliness - what was I thinking :-)
1998-05-26 13:53:23 +00:00
Guido van Rossum
271f977686
Seem to be some changes related to DLL version from string resource,
...
again (Mark Hammond is the cause of all this).
1997-09-29 23:39:31 +00:00
Guido van Rossum
0e6ae93894
Moved PyWin_IsWin32s() here.
1997-08-13 19:53:11 +00:00
Guido van Rossum
22822d78db
forgot to rename import_filetab
1997-05-08 23:43:52 +00:00
Guido van Rossum
7688bbad61
Include Python.h, not allobjects.h (which no longer exists).
1997-05-05 21:45:44 +00:00
Guido van Rossum
3db4103ecf
Use MS_DLL_ID and similar changes
1996-08-23 18:42:39 +00:00
Guido van Rossum
eaf9b6cd7b
More changes for NT, Guido style
1996-08-22 00:06:59 +00:00
Guido van Rossum
6dbd190f5e
NT specific files supplied by Mark Hammond
1996-08-21 15:03:37 +00:00