(self, log, stream, stdin, bufsize_type, encoding, tty_in)
| 2962 | the "read" method, a string, or an iterable""" |
| 2963 | |
| 2964 | def __init__(self, log, stream, stdin, bufsize_type, encoding, tty_in): |
| 2965 | self.stream = stream |
| 2966 | self.stdin = stdin |
| 2967 | |
| 2968 | self.log = log |
| 2969 | self.encoding = encoding |
| 2970 | self.tty_in = tty_in |
| 2971 | |
| 2972 | self.stream_bufferer = StreamBufferer(bufsize_type, self.encoding) |
| 2973 | self.get_chunk, log_msg = determine_how_to_read_input(stdin) |
| 2974 | self.log.debug("parsed stdin as a %s", log_msg) |
| 2975 | |
| 2976 | def fileno(self): |
| 2977 | """defining this allows us to do poll on an instance of this |
nothing calls this directly
no test coverage detected