Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Kamaelia/Internet/Selector.py   kamaelia(Download)
                #  no readers, writers, or anything - wait a few moments just in case
                timewithNone += 1
                self.pause(0.5)        # pause - we're not selecting on anything, timeout becuase of shutdown timeout needs
            else:
                timewithNone += 1

src/k/a/kamaelia-HEAD/Sketches/MH/Timer/Timer.py   kamaelia(Download)
 
            if not self.anyReady():
                self.pause(timeout)
 
#            yield 1

src/k/a/Kamaelia-0.6.0/Kamaelia/Internet/Selector.py   Kamaelia(Download)
                #  no readers, writers, or anything - wait a few moments just in case
                timewithNone += 1
                self.pause(0.5)        # pause - we're not selecting on anything, timeout becuase of shutdown timeout needs
            else:
                timewithNone += 1

src/k/a/kamaelia-HEAD/Sketches/MH/RTP/Selector.py   kamaelia(Download)
                self.sync()
            elif not self.anyReady():
                self.pause()        # momentary pause-ish thing
#            else:
#                print "HMM"

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/Internet/Selector.py   kamaelia(Download)
                #  no readers, writers, or anything - wait a few moments just in case
                timewithNone += 1
                self.pause(0.5)        # pause - we're not selecting on anything, timeout becuase of shutdown timeout needs
            else:
                timewithNone += 1