##// END OF EJS Templates
Fix autocall misfiring on print for python 2.6 and newer. Closes Bug #414967...
Fix autocall misfiring on print for python 2.6 and newer. Closes Bug #414967 Thanks to Robert Kern for the key tip on how to read the compiler flag needed to detect if print_function had been imported.

File last commit:

r2118:ec9810f7
r2547:8fff75b0
Show More
compile.py
19 lines | 397 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Script to check that all code in a directory compiles correctly.
Usage:
compile.py
This script verifies that all Python files in the directory where run, and all
of its subdirectories, compile correctly.
Before a release, call this script from the top-level directory.
"""
import sys
from toollib import compile_tree
if __name__ == '__main__':
compile_tree()