Commit 50014e65 authored by Guido van Rossum's avatar Guido van Rossum

Take out the setlocale() call. It affects atof() and will break

floating point literals.  Need to do this differently...
parent 1625716e
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment