exec and print_function

Added code review fix for 4917e69