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

floating point literals.  Need to do this differently...
This commit is contained in:
Guido van Rossum 1997-10-31 18:25:15 +00:00
parent 3c03fa87b6
commit 873c35c437
1 changed files with 0 additions and 8 deletions

View File

@ -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;