Staging
v0.5.1
https://github.com/python/cpython
Revision 353c4bab7d103cb66391a83f3c27cd75ae13a754 authored by Miss Islington (bot) on 22 June 2020, 08:20:56 UTC, committed by GitHub on 22 June 2020, 08:20:56 UTC

Unexpected errors in calling the __iter__ method are no longer
masked by TypeError in the "in" operator and functions
operator.contains(), operator.indexOf() and operator.countOf().
(cherry picked from commit cafe1b6e9d3594a34aba50e872d4198296ffaadf)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent f19ed6b
Raw File
Tip revision: 353c4bab7d103cb66391a83f3c27cd75ae13a754 authored by Miss Islington (bot) on 22 June 2020, 08:20:56 UTC
bpo-40824: Do not mask errors in __iter__ in "in" and the operator module. (GH-20537)
Tip revision: 353c4ba
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