Python sys._exc_info() Examples

The following are code examples for showing how to use sys._exc_info(). They are extracted from open source Python projects. You can vote up the examples you like or vote down the ones you don't like. You can also save this page to your account.

Example 1
Project: Intranet-Penetration   Author: yuxiaokui   File: hub.py    (license) View Source Project 5 votes vote down vote up
def _start(self):
        try:
            greenlet = self.greenlet_class(self.handle)
            greenlet.switch()
        except:
            self.hub.handle_error(None, *sys._exc_info()) 
Example 2
Project: Intranet-Penetration   Author: yuxiaokui   File: hub.py    (license) View Source Project 5 votes vote down vote up
def _start(self):
        try:
            greenlet = self.greenlet_class(self.handle)
            greenlet.switch()
        except:
            self.hub.handle_error(None, *sys._exc_info()) 
Example 3
Project: MKFQ   Author: maojingios   File: hub.py    (license) View Source Project 5 votes vote down vote up
def _start(self):
        try:
            greenlet = self.greenlet_class(self.handle)
            greenlet.switch()
        except:
            self.hub.handle_error(None, *sys._exc_info()) 
Example 4
Project: MKFQ   Author: maojingios   File: hub.py    (license) View Source Project 5 votes vote down vote up
def _start(self):
        try:
            greenlet = self.greenlet_class(self.handle)
            greenlet.switch()
        except:
            self.hub.handle_error(None, *sys._exc_info()) 
Example 5
Project: oa_qian   Author: sunqb   File: hub.py    (license) View Source Project 5 votes vote down vote up
def _start(self):
        try:
            greenlet = self.greenlet_class(self.handle)
            greenlet.switch()
        except:
            self.hub.handle_error(None, *sys._exc_info()) 
Example 6
Project: RealtimePythonChat   Author: quangtqag   File: hub.py    (license) View Source Project 5 votes vote down vote up
def _start(self):
        try:
            greenlet = self.greenlet_class(self.handle)
            greenlet.switch()
        except: # pylint:disable=bare-except
            self.hub.handle_error(None, *sys._exc_info()) # pylint:disable=no-member 
Example 7
Project: xxNet   Author: drzorm   File: hub.py    (license) View Source Project 5 votes vote down vote up
def _start(self):
        try:
            greenlet = self.greenlet_class(self.handle)
            greenlet.switch()
        except:
            self.hub.handle_error(None, *sys._exc_info()) 
Example 8
Project: xxNet   Author: drzorm   File: hub.py    (license) View Source Project 5 votes vote down vote up
def _start(self):
        try:
            greenlet = self.greenlet_class(self.handle)
            greenlet.switch()
        except:
            self.hub.handle_error(None, *sys._exc_info()) 
Example 9
Project: Flask-SocketIO   Author: cutedogspark   File: hub.py    (license) View Source Project 5 votes vote down vote up
def _start(self):
        try:
            greenlet = self.greenlet_class(self.handle)
            greenlet.switch()
        except:
            self.hub.handle_error(None, *sys._exc_info()) 
Example 10
Project: zenchmarks   Author: squeaky-pl   File: hub.py    (license) View Source Project 5 votes vote down vote up
def _start(self):
        try:
            greenlet = self.greenlet_class(self.handle)
            greenlet.switch()
        except: # pylint:disable=bare-except
            self.hub.handle_error(None, *sys._exc_info()) # pylint:disable=no-member 
Example 11
Project: Docker-XX-Net   Author: kuanghy   File: hub.py    (license) View Source Project 5 votes vote down vote up
def _start(self):
        try:
            greenlet = self.greenlet_class(self.handle)
            greenlet.switch()
        except:
            self.hub.handle_error(None, *sys._exc_info()) 
Example 12
Project: Docker-XX-Net   Author: kuanghy   File: hub.py    (license) View Source Project 5 votes vote down vote up
def _start(self):
        try:
            greenlet = self.greenlet_class(self.handle)
            greenlet.switch()
        except:
            self.hub.handle_error(None, *sys._exc_info()) 
Example 13
Project: Lixiang_zhaoxin   Author: hejaxian   File: hub.py    (license) View Source Project 5 votes vote down vote up
def _start(self):
        try:
            greenlet = self.greenlet_class(self.handle)
            greenlet.switch()
        except:
            self.hub.handle_error(None, *sys._exc_info())