views:

825

answers:

1

I was just pleasantly surprised to came across the documentation of Python's compiler package, but noticed that it's gone in Python 3.0, without any clear replacement or explanation.

I can't seem to find any discussion on python-dev about how this decision was made - does anyone have any insight inot this decision?

+11  A: 

I believe the functionality is now built in:

http://www.python.org/doc/3.0.1/library/functions.html#compile

and

http://www.python.org/doc/3.0.1/library/ast.html

Paul