Staging
v0.5.1
v0.5.1
Revision 84105cbaa395923e3584a87d67ccce72c8420bb4 authored by Victor Stinner on 07 September 2020, 15:27:03 UTC, committed by GitHub on 07 September 2020, 15:27:03 UTC
The error is exposed on non-UTF-8 locales. (cherry picked from commit 67987acd5dc9776f55f4e139e2b3d9e7a6434d9f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit c73ee5acc96b4bbd6885156883b224b8cc3e470c)
1 parent 4e581d6
python.c
/* Minimal main program -- everything is loaded from the library */
#include "Python.h"
#include "pycore_pylifecycle.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_BytesMain(argc, argv);
}
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...