fixes in session.python.eval()