@@ -557,17 +557,17 @@ public void initStd(Python3Core core) {
557
557
PBuffered reader = factory .createBufferedReader (PythonBuiltinClassType .PBufferedReader );
558
558
BufferedReaderBuiltins .BufferedReaderInit .internalInit (reader , (PFileIO ) get (builtinConstants , "stdin" ), BufferedReaderBuiltins .DEFAULT_BUFFER_SIZE , factory , posixSupport ,
559
559
posixLib );
560
- setWrapper ("stdin" , "__stdin__" , "r" , stdioEncoding , stdioError , reader , sysModule , textIOWrapperInitNode , core . factory () );
560
+ setWrapper ("stdin" , "__stdin__" , "r" , stdioEncoding , stdioError , reader , sysModule , textIOWrapperInitNode , factory );
561
561
562
562
PBuffered writer = factory .createBufferedWriter (PythonBuiltinClassType .PBufferedWriter );
563
563
BufferedWriterBuiltins .BufferedWriterInit .internalInit (writer , (PFileIO ) get (builtinConstants , "stdout" ), BufferedReaderBuiltins .DEFAULT_BUFFER_SIZE , factory , posixSupport ,
564
564
posixLib );
565
- PTextIO stdout = setWrapper ("stdout" , "__stdout__" , "w" , stdioEncoding , stdioError , writer , sysModule , textIOWrapperInitNode , core . factory () );
565
+ PTextIO stdout = setWrapper ("stdout" , "__stdout__" , "w" , stdioEncoding , stdioError , writer , sysModule , textIOWrapperInitNode , factory );
566
566
567
567
writer = factory .createBufferedWriter (PythonBuiltinClassType .PBufferedWriter );
568
568
BufferedWriterBuiltins .BufferedWriterInit .internalInit (writer , (PFileIO ) get (builtinConstants , "stderr" ), BufferedReaderBuiltins .DEFAULT_BUFFER_SIZE , factory , posixSupport ,
569
569
posixLib );
570
- PTextIO stderr = setWrapper ("stderr" , "__stderr__" , "w" , stdioEncoding , "backslashreplace" , writer , sysModule , textIOWrapperInitNode , core . factory () );
570
+ PTextIO stderr = setWrapper ("stderr" , "__stderr__" , "w" , stdioEncoding , "backslashreplace" , writer , sysModule , textIOWrapperInitNode , factory );
571
571
572
572
// register atexit close std out/err
573
573
core .getContext ().registerAtexitHook ((ctx ) -> {
0 commit comments