Staging
v0.5.1
https://github.com/python/cpython
Revision c24f03846431cb8f3ee32f54af056ddfae0bf797 authored by Guido van Rossum on 13 August 1997, 03:24:53 UTC, committed by Guido van Rossum on 13 August 1997, 03:24:53 UTC
Removed handling of \e, \cX escapes, following a string-SIG discussion.

Fixed minor typos in re.py
re.error is now set equal to reop.error.
Move definition of constants like NORMAL and CHARCLASS into reop, which
  exports them; re.py was changed to import them from reop.
Added C equivalents of _expand and expand_escape to reop, and changed
  re.py to use them.
1 parent 52d6832
Raw File
Tip revision: c24f03846431cb8f3ee32f54af056ddfae0bf797 authored by Guido van Rossum on 13 August 1997, 03:24:53 UTC
Changes by AMK:
Tip revision: c24f038
dl_nt.c
/*

Entry point for the Windows NT DLL.

About the only reason for having this, is so initall() can automatically
be called, removing that burden (and possible source of frustration if 
forgotten) from the programmer.

*/
#include "windows.h"

/* NT and Python share these */
#include "config.h"
#include "Python.h"

HMODULE PyWin_DLLhModule = NULL;

BOOL	WINAPI	DllMain (HANDLE hInst, 
						ULONG ul_reason_for_call,
						LPVOID lpReserved)
{
	switch (ul_reason_for_call)
	{
		case DLL_PROCESS_ATTACH:
			PyWin_DLLhModule = hInst;
			//initall();
			break;
		case DLL_PROCESS_DETACH:
			break;
	}
	return TRUE;
}
back to top