From 873c35c437566ec138545f716ee1a10a22708026 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 31 Oct 1997 18:25:15 +0000 Subject: [PATCH] Take out the setlocale() call. It affects atof() and will break floating point literals. Need to do this differently... --- Modules/main.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Modules/main.c b/Modules/main.c index 0b35a9415e..df79ab5c4d 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -37,10 +37,6 @@ PERFORMANCE OF THIS SOFTWARE. #include #endif -#ifdef HAVE_LOCALE_H -#include -#endif - #ifdef MS_WINDOWS #include #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; -- 2.40.0