summaryrefslogtreecommitdiffstats
path: root/Demo/xml/elem_count.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-09-17 21:02:51 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-09-17 21:02:51 (GMT)
commit9dca36432e4526da9c5885e86782e7dfa5432c42 (patch)
treea30bc1744590e05b731eb077d1d261b544270ccf /Demo/xml/elem_count.py
parentc8ed18a4e3756f0cccbcddd10323ef536ad003ec (diff)
downloadcpython-9dca36432e4526da9c5885e86782e7dfa5432c42.zip
cpython-9dca36432e4526da9c5885e86782e7dfa5432c42.tar.gz
cpython-9dca36432e4526da9c5885e86782e7dfa5432c42.tar.bz2
API change:
compile() becomes replacement for builtin compile() compileFile() generates a .pyc from a .py both are exported in __init__ compiler.parse() gets optional second argument to specify compilation mode, e.g. single, eval, exec Add AbstractCompileMode as parent class and Module, Expression, and Interactive as concrete subclasses. Each corresponds to a compilation mode. THe AbstractCompileMode instances in turn delegate to CodeGeneration subclasses specialized for their particular functions -- ModuleCodeGenerator, ExpressionCodeGeneration, InteractiveCodeGenerator.
Diffstat (limited to 'Demo/xml/elem_count.py')
0 files changed, 0 insertions, 0 deletions