Did I find the right examples for you? yes no

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

src/n/u/Nuitka-HEAD/tests/programs/main_raises2/ErrorInFunctionMain.py   Nuitka(Download)
def generator_function():
    import ErrorRaising
 
    x = ( lambda : ErrorRaising.raiseException() for z in range(3) )
 

src/n/u/Nuitka-HEAD/tests/programs/main_raises/ErrorMain.py   Nuitka(Download)
 
# Just plain exception from the module level, supposed to report the correct file and line
import ErrorRaising
ErrorRaising.raiseException()
 

src/n/u/Nuitka-0.5.1.5/tests/programs/main_raises2/ErrorInFunctionMain.py   Nuitka(Download)
def generator_function():
    import ErrorRaising
 
    x = ( lambda : ErrorRaising.raiseException() for z in range(3) )
 

src/n/u/Nuitka-0.5.1.5/tests/programs/main_raises/ErrorMain.py   Nuitka(Download)
 
# Just plain exception from the module level, supposed to report the correct file and line
import ErrorRaising
ErrorRaising.raiseException()