Staging
v0.5.1
https://github.com/python/cpython
Revision 3715176557cf87925c8f89b98939c7daf9bf48e2 authored by Ethan Furman on 12 April 2018, 01:56:25 UTC, committed by GitHub on 12 April 2018, 01:56:25 UTC
deprecate non-Enum lookups in Enums

Lookups such as `1 in Color` and `2 in SomeFlag()` will raise TypeError
in 3.8+.
1 parent cbbf746
Raw File
Tip revision: 3715176557cf87925c8f89b98939c7daf9bf48e2 authored by Ethan Furman on 12 April 2018, 01:56:25 UTC
[3.7] bpo-33217: deprecate non-Enum lookups in Enums (GH-6392)
Tip revision: 3715176
python.c
/* Minimal main program -- everything is loaded from the library */

#include "Python.h"

#ifdef MS_WINDOWS
int
wmain(int argc, wchar_t **argv)
{
    return Py_Main(argc, argv);
}
#else
int
main(int argc, char **argv)
{
    return _Py_UnixMain(argc, argv);
}
#endif
back to top