Did I find the right examples for you? yes no

All Samples(1042)  |  Call(1029)  |  Derive(13)  |  Import(0)
Read beyond end of file.

src/w/e/Webapp2-Sample-Applications-HEAD/sample-app-auth/ndb/tasklets.py   Webapp2-Sample-Applications(Download)
      tb = self.get_traceback()
    else:
      exc = EOFError('Queue is empty')
      tb = None
    self._pass_result(fut, exc, tb, None)
    while self._waiting:
      waiter = self._waiting.popleft()
      waiter.set_exception(EOFError('Queue is empty'))
    if not self._queue:
      self.set_result(None)
          tb = self.get_traceback()
        else:
          err = EOFError('Queue is empty')
          tb = None
        fut.set_exception(err, tb)

src/p/l/plib2-0.7.3/examples/chat/chat_client.py   plib2(Download)
    def stdin_data(self, data):
        if data == self.QUIT:
            raise EOFError("QUIT received")
        self.start(data)
 

src/p/l/plib-0.8.9/examples/chat/chat_client.py   plib(Download)
    def stdin_data(self, data):
        if data == self.QUIT:
            raise EOFError("QUIT received")
        self.start(data)
 

src/p/l/plib3.io-0.9.6/examples/chat/chat_client3.py   plib3.io(Download)
    def stdin_data(self, data):
        if data == self.QUIT:
            raise EOFError("QUIT received")
        self.start(data.encode())
 

src/b/i/bitey-0.0/examples/mandel/png.py   bitey(Download)
            break
        if l == '':
            raise EOFError('PAM ended prematurely')
        if l[0] == '#':
            continue

src/p/l/plib.io-0.9.6/examples/chat/chat_client.py   plib.io(Download)
    def stdin_data(self, data):
        if data == self.QUIT:
            raise EOFError("QUIT received")
        self.start(data)
 

src/b/i/bitey-HEAD/examples/mandel/png.py   bitey(Download)
            break
        if l == '':
            raise EOFError('PAM ended prematurely')
        if l[0] == '#':
            continue

src/p/e/peregrine-HEAD/peregrine/samples.py   peregrine(Download)
 
  if len(samples) < num_samples:
    raise EOFError("Failed to read %d samples from file '%s'" %
                   (num_samples, filename))
 

src/p/r/programming-course-HEAD/examples/skeleton.py   programming-course(Download)
    if not input.readline():
        # Not the input we were looking for
        raise EOFError('The input file seems to be empty.')
 
    print magic_number

src/t/r/trollius-0.2/examples/cacheclt.py   trollius(Download)
    def process(self):
        frame = yield From(self.reader.readline())
        if not frame:
            raise EOFError()
        head, tail = frame.split(None, 1)
        data = yield From(self.reader.readexactly(resp_size))
        if len(data) != resp_size:
            raise EOFError()
        resp = json.loads(data.decode('utf8'))
        raise Return(resp_id, resp)

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next