python2.7-compiler-package

Changeset

7:be84e10419c4
2012-05-18 Paul Boddie raw files shortlog changelog graph Removed Python 3 warning.
compiler/__init__.py (file)
     1.1 --- a/compiler/__init__.py	Fri May 18 23:39:33 2012 +0200
     1.2 +++ b/compiler/__init__.py	Fri May 18 23:48:47 2012 +0200
     1.3 @@ -21,11 +21,6 @@
     1.4      Generates a .pyc file by compiling filename.
     1.5  """
     1.6  
     1.7 -import warnings
     1.8 -
     1.9 -warnings.warn("The compiler package is deprecated and removed in Python 3.x.",
    1.10 -              DeprecationWarning, stacklevel=2)
    1.11 -
    1.12  from compiler.transformer import parse, parseFile
    1.13  from compiler.visitor import walk
    1.14  from compiler.pycodegen import compile, compileFile