<s> from __future__ import print_function <EOL> import sys <EOL> def eight ( ) : <EOL> return <NUM_LIT:8> <EOL> def nine ( ) : <EOL> return <NUM_LIT:9> <EOL> def raisy1 ( ) : <EOL> return <NUM_LIT:1> / <NUM_LIT:0> <EOL> def raisy2 ( ) : <EOL> return <NUM_LIT:1> ( ) <EOL> def raisy3 ( arg ) : <EOL> raise TypeError ( arg ) <EOL> def returnInTried ( for_call ) : <EOL> try : <EOL> print ( "<STR_LIT>" , sys . exc_info ( ) ) <EOL> return for_call ( ) <EOL> finally : <EOL> print ( "<STR_LIT>" , sys . exc_info ( ) ) <EOL> def returnInFinally ( for_call ) : <EOL> try : <EOL> print ( "<STR_LIT>" , sys . exc_info ( ) ) <EOL> finally : <EOL> print ( "<STR_LIT>" , sys . exc_info ( ) ) <EOL> return for_call ( ) <EOL> print ( "<STR_LIT>" ) <EOL> print ( "<STR_LIT:result>" , returnInTried ( eight ) ) <EOL> print ( '<STR_LIT:*>' * <NUM_LIT> ) <EOL> print ( "<STR_LIT>" ) <EOL> print ( "<STR_LIT:result>" , returnInFinally ( nine ) ) <EOL> print ( '<STR_LIT:*>' * <NUM_LIT> ) <EOL> print ( "<STR_LIT>" ) <EOL> try : <EOL> print ( "<STR_LIT:result>" , returnInTried ( raisy1 ) ) <EOL> except Exception as e : <EOL> print ( "<STR_LIT>" , repr ( e ) ) <EOL> print ( '<STR_LIT:*>' * <NUM_LIT> ) <EOL> print ( "<STR_LIT>" ) <EOL> try : <EOL> print ( "<STR_LIT:result>" , returnInFinally ( raisy2 ) ) <EOL> except Exception as e : <EOL> print ( "<STR_LIT>" , repr ( e ) ) <EOL> print ( '<STR_LIT:*>' * <NUM_LIT> ) <EOL> try : <EOL> raisy3 ( "<STR_LIT>" ) <EOL> except Exception as outer_e : <EOL> print ( "<STR_LIT>" ) <EOL> try : <EOL> print ( "<STR_LIT:result>" , returnInTried ( raisy1 ) ) <EOL> except Exception as e : <EOL> print ( "<STR_LIT>" , repr ( e ) ) <EOL> print ( "<STR_LIT>" , repr ( outer_e ) ) <EOL> print ( '<STR_LIT:*>' * <NUM_LIT> ) <EOL> try : <EOL> raisy3 ( "<STR_LIT>" ) <EOL> except Exception as outer_e : <EOL> print ( "<STR_LIT>" ) <EOL> try : <EOL> print ( "<STR_LIT:result>" , returnInFinally ( raisy2 ) ) <EOL> except Exception as e : <EOL> print ( "<STR_LIT>" , repr ( e ) ) <EOL> print ( "<STR_LIT>" , repr ( outer_e ) ) <EOL> print ( '<STR_LIT:*>' * <NUM_LIT> ) </s>
