File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
graalpython/lib-graalpython Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -80,13 +80,12 @@ def open(*args, **kwargs):
80
80
sys .stdin = _pyio .TextIOWrapper (_pyio .BufferedReader (sys .stdin ), encoding = "utf-8" , line_buffering = True )
81
81
sys .stdin .mode = "r"
82
82
sys .__stdin__ = sys .stdin
83
- if not sys .graal_python_unbuffered_io :
84
- sys .stdout = _pyio .TextIOWrapper (_pyio .BufferedWriter (sys .stdout ), encoding = "utf-8" , line_buffering = True )
85
- sys .stdout .mode = "w"
86
- sys .__stdout__ = sys .stdout
87
- sys .stderr = _pyio .TextIOWrapper (_pyio .BufferedWriter (sys .stderr ), encoding = "utf-8" , line_buffering = True )
88
- sys .stderr .mode = "w"
89
- sys .__stderr__ = sys .stderr
83
+ sys .stdout = _pyio .TextIOWrapper (_pyio .BufferedWriter (sys .stdout ), encoding = "utf-8" , line_buffering = True )
84
+ sys .stdout .mode = "w"
85
+ sys .__stdout__ = sys .stdout
86
+ sys .stderr = _pyio .TextIOWrapper (_pyio .BufferedWriter (sys .stderr ), encoding = "utf-8" , line_buffering = True )
87
+ sys .stderr .mode = "w"
88
+ sys .__stderr__ = sys .stderr
90
89
91
90
92
91
# ----------------------------------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments