Staging
v0.5.1
https://github.com/python/cpython
Revision b44fb128ae5d9562f00a944e2d22392235073a69 authored by Victor Stinner on 21 November 2016, 15:35:08 UTC, committed by Victor Stinner on 21 November 2016, 15:35:08 UTC
Issue #28727: Regular expression patterns, _sre.SRE_Pattern objects created by
re.compile(), become comparable (only x==y and x!=y operators). This change
should fix the issue #18383: don't duplicate warning filters when the warnings
module is reloaded (thing usually only done in unit tests).
1 parent a2f7ee8
Raw File
Tip revision: b44fb128ae5d9562f00a944e2d22392235073a69 authored by Victor Stinner on 21 November 2016, 15:35:08 UTC
Implement rich comparison for _sre.SRE_Pattern
Tip revision: b44fb12
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