Lines Matching defs:EOF

7 from .exceptions import ExceptionPexpect, EOF, TIMEOUT
53 self.delimiter = EOF
169 # Linux-style EOF
171 raise EOF('End Of File (EOF). Exception style platform.')
174 # BSD-style EOF
176 raise EOF('End Of File (EOF). Empty string style platform.')
184 ' of: {goodtypes}, pexpect.EOF, pexpect.TIMEOUT'\
194 Patterns must be a StringType, EOF, TIMEOUT, SRE_Pattern, or a list of
196 might do this if waiting for an EOF or TIMEOUT condition without
230 elif p is EOF:
231 compiled_pattern_list.append(EOF)
243 StringType, EOF, a compiled re, or a list of any of those types.
246 successful match. This may raise exceptions for EOF or TIMEOUT. To
247 avoid the EOF or TIMEOUT exceptions add EOF or TIMEOUT to the pattern
248 list. That will cause expect to match an EOF or TIMEOUT condition
268 attribute *match* becomes an re.MatchObject result. Should an EOF
284 A list entry may be EOF or TIMEOUT instead of a string. This will
290 index = p.expect(['good', 'bad', pexpect.EOF, pexpect.TIMEOUT])
308 except EOF:
314 can also just expect the EOF if you are waiting for all output of a
318 p.expect(pexpect.EOF)
347 also contain EOF or TIMEOUT(which are not compiled regular
377 EOF.
397 pattern_list in (TIMEOUT, EOF)):
401 if pattern in (TIMEOUT, EOF):
432 EOF before obtaining size bytes). If the size argument is negative or
433 omitted, read all data until EOF is reached. The bytes are returned as
434 a string object. An empty string is returned when EOF is encountered
440 # delimiter default is EOF
450 # will never match anything in which case we stop only on EOF.
452 # delimiter default is EOF
462 newline. An empty string is returned if EOF is encountered immediately.
473 # delimiter default is EOF
486 '''This reads until EOF using readline() and returns a list containing
488 Remember, because this reads until EOF that means the child