• Marius Wachtler's avatar
    cleanup the eval and exec implementation · 5501fb38
    Marius Wachtler authored
    This makes the implementation more similar to cpythons and removes some missing error handling.
    It also uses and implements some missing PyRun_* and PyEval_* functions.
    One behaviour change is that 'execfile' now always uses the cpython parser.
    
    If think if we want to support other parsers the right way would be to decide inside PyParser_ASTFromFile which parser to use.
    5501fb38
test_univnewlines2k.py 3.76 KB