From 11d19a862f9f9171a05d399afd92074ba6dd60cc Mon Sep 17 00:00:00 2001 From: Alexandre Vassalotti Date: Tue, 6 May 2008 19:48:38 +0000 Subject: Added fast alternate io.BytesIO implementation and its test suite. Removed old test suite for StringIO. Modified truncate() to imply a seek to given argument value. --- Python/pythonrun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python/pythonrun.c') diff --git a/Python/pythonrun.c b/Python/pythonrun.c index a80cb143fa..e2ba185a7a 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -240,11 +240,11 @@ Py_InitializeEx(int install_sigs) } initmain(); /* Module __main__ */ + if (!Py_NoSiteFlag) + initsite(); /* Module site */ if (initstdio() < 0) Py_FatalError( "Py_Initialize: can't initialize sys standard streams"); - if (!Py_NoSiteFlag) - initsite(); /* Module site */ /* auto-thread-state API, if available */ #ifdef WITH_THREAD -- cgit v1.2.1