Kaydet (Commit) 873c35c4 authored tarafından 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...
üst 3c03fa87
......@@ -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