We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96ea960 commit 427d371Copy full SHA for 427d371
bpython/curtsiesfrontend/repl.py
@@ -201,6 +201,13 @@ def write(self, value):
201
# others, so here's a hack to keep them happy
202
raise IOError(errno.EBADF, "sys.stdin is read-only")
203
204
+ def close(self):
205
+ # hack to make closing stdin a nop
206
+ # This is useful for multiprocessing.Process, which does work
207
+ # for the most part, although output from other processes is
208
+ # discarded.
209
+ pass
210
+
211
@property
212
def encoding(self):
213
return 'UTF8'
0 commit comments