예제 #1
0
 def throw(self, *args, **kwargs):
     # pylint:disable=arguments-differ
     if self.saved is None and self._fileobj is not None:
         self.switch_in()
     Greenlet.throw(self, *args, **kwargs)
예제 #2
0
파일: task.py 프로젝트: HarryR/kitsh
 def throw(self, *args, **kwargs):
     if self.saved is None and self._fileobj is not None:
         self.switch_in()
     Greenlet.throw(self, *args, **kwargs)
예제 #3
0
 def throw(self, *args, **kwargs):
     # pylint:disable=arguments-differ
     if self.prev_stdin is None and self.stdin is not None:
         self.switch_in()
     Greenlet.throw(self, *args, **kwargs)
예제 #4
0
 def throw(self, *args, **kwargs):
     # pylint:disable=arguments-differ
     if self.saved is None and self._fileobj is not None:
         self.switch_in()
     Greenlet.throw(self, *args, **kwargs)
예제 #5
0
 def throw(self, *args, **kwargs):
     if self.saved is None and self._fileobj is not None:
         self.switch_in()
     Greenlet.throw(self, *args, **kwargs)