mirror of https://github.com/python/cpython
Take out the setlocale() call. It affects atof() and will break
floating point literals. Need to do this differently...
This commit is contained in:
parent
3c03fa87b6
commit
873c35c437
|
@ -37,10 +37,6 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
#include <locale.h>
|
||||
#endif
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
@ -105,10 +101,6 @@ Py_Main(argc, argv)
|
|||
int unbuffered = 0;
|
||||
int stdin_is_interactive = 0;
|
||||
|
||||
#ifdef HAVE_SETLOCALE
|
||||
setlocale(LC_ALL, "");
|
||||
#endif
|
||||
|
||||
orig_argc = argc; /* For Py_GetArgcArgv() */
|
||||
orig_argv = argv;
|
||||
|
||||
|
|
Loading…
Reference in New Issue