summaryrefslogtreecommitdiffstats
path: root/Modules/main.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-10-31 18:25:15 (GMT)
committerGuido van Rossum <guido@python.org>1997-10-31 18:25:15 (GMT)
commit873c35c437566ec138545f716ee1a10a22708026 (patch)
treeaa1533bd0ddd6f53d44e723732555ed9bdf79bbb /Modules/main.c
parent3c03fa87b64576841d0e9a6a3b4ada5063a228b8 (diff)
downloadcpython-873c35c437566ec138545f716ee1a10a22708026.zip
cpython-873c35c437566ec138545f716ee1a10a22708026.tar.gz
cpython-873c35c437566ec138545f716ee1a10a22708026.tar.bz2
Take out the setlocale() call. It affects atof() and will break
floating point literals. Need to do this differently...
Diffstat (limited to 'Modules/main.c')
-rw-r--r--Modules/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Modules/main.c b/Modules/main.c
index 0b35a94..df79ab5 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -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;