mirror of
https://github.com/python/cpython.git
synced 2025-07-10 04:45:36 +00:00
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.
This commit is contained in:
parent
5d8da20dd1
commit
77250f4df7
10 changed files with 1245 additions and 193 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue