Author: Brian Kearns <[email protected]>
Branch: use-file-star-for-file
Changeset: r73197:a58ff2d31f1e
Date: 2014-08-29 16:35 -0400
http://bitbucket.org/pypy/pypy/changeset/a58ff2d31f1e/
Log: kill unused funcs
diff --git a/pypy/module/_file/interp_file.py b/pypy/module/_file/interp_file.py
--- a/pypy/module/_file/interp_file.py
+++ b/pypy/module/_file/interp_file.py
@@ -89,16 +89,6 @@
self.check_closed()
return self.stream
- def _when_reading_first_flush(self, otherfile):
- """Flush otherfile before reading from self."""
- #self.stream = streamio.CallbackReadFilter(self.stream,
- # otherfile._try_to_flush)
-
- def _try_to_flush(self):
- stream = self.stream
- if stream is not None:
- stream.flush()
-
# ____________________________________________________________
#
# The 'direct_' methods assume that the caller already acquired the
diff --git a/pypy/module/sys/state.py b/pypy/module/sys/state.py
--- a/pypy/module/sys/state.py
+++ b/pypy/module/sys/state.py
@@ -49,8 +49,6 @@
stderr.name = '<stderr>'
self.w_stderr = space.wrap(stderr)
- stdin._when_reading_first_flush(stdout)
-
def getio(space):
return space.fromcache(IOState)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit