Staging
v0.5.1
https://github.com/python/cpython
Revision 4f0c5d4b4b7311c5caf94c048121763048110bc9 authored by Michael W. Hudson on 26 March 2002, 09:57:13 UTC, committed by Michael W. Hudson on 26 March 2002, 09:57:13 UTC
backport gvanrossum's checkin of
    revision 1.58 of pickle.py

Fix for SF 502085.
Don't die when issubclass(t, TypeType) fails.

Bugfix candidate (but I think it's too late for 2.2.1).
1 parent f1b26ba
Raw File
Tip revision: 4f0c5d4b4b7311c5caf94c048121763048110bc9 authored by Michael W. Hudson on 26 March 2002, 09:57:13 UTC
It made it.
Tip revision: 4f0c5d4
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

#include "Python.h"

extern int Py_Main(int, char **);

int WINAPI WinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPSTR lpCmdLine,          /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __argv);
}
back to top