예제 #1
0
파일: backdoor.py 프로젝트: strogo/pylibs
 def switch(self, *args, **kw):
     self.saved = sys.stdin, sys.stderr, sys.stdout
     sys.stdin = sys.stdout = sys.stderr = self.desc
     Greenlet.switch(self, *args, **kw)
예제 #2
0
 def switch(self, *args, **kw):
     self.saved = sys.stdin, sys.stderr, sys.stdout
     sys.stdin = sys.stdout = sys.stderr = self.desc
     Greenlet.switch(self, *args, **kw)
예제 #3
0
 def switch(self, *args, **kw):
     if self._fileobj is not None:
         self.switch_in()
     Greenlet.switch(self, *args, **kw)
예제 #4
0
 def switch(self, *args, **kw):
     if self._fileobj is not None:
         self.switch_in()
     Greenlet.switch(self, *args, **kw)
예제 #5
0
 def switch(self, *args, **kw):
     if self.stdin is not None:
         self.switch_in()
     Greenlet.switch(self, *args, **kw)
예제 #6
0
 def switch(self, *args, **kw):
     if self._fileobj is not None:
         self.switch_in()
     Greenlet.switch(self, *args, **kw)  # pylint:disable=no-member
예제 #7
0
파일: backdoor.py 프로젝트: 18965050/gevent
 def switch(self, *args, **kw):
     if self._fileobj is not None:
         self.switch_in()
     Greenlet.switch(self, *args, **kw) # pylint:disable=no-member