Staging
v0.5.1
https://github.com/python/cpython
Revision 73ad434945f520337f55f23695221d766d066969 authored by Senthil Kumaran on 24 February 2010, 21:04:55 UTC, committed by Senthil Kumaran on 24 February 2010, 21:04:55 UTC
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78433 | senthil.kumaran | 2010-02-25 02:33:37 +0530 (Thu, 25 Feb 2010) | 10 lines

  Merged revisions 78431 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r78431 | senthil.kumaran | 2010-02-25 02:25:31 +0530 (Thu, 25 Feb 2010) | 4 lines

    Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data to
    a existing req object already having data.
  ........
................
1 parent 40ea650
Raw File
Tip revision: 73ad434945f520337f55f23695221d766d066969 authored by Senthil Kumaran on 24 February 2010, 21:04:55 UTC
Merged revisions 78433 via svnmerge from
Tip revision: 73ad434
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

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