python: improve support for modern python (CPython 3.2 and PyPy)
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Mon, 5 Nov 2012 17:45:15 +0000 (11:45 -0600)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 11 Nov 2012 00:26:43 +0000 (01:26 +0100)
commite0e99eda367180a73403e3d016e2255bc278e42e
tree377d5144502424c8706bc1b49911a8d6c7cfcf42
parentbd0d41d77f0d8a24bb8e6aac3bf580cbe741f88e
python: improve support for modern python (CPython 3.2 and PyPy)

This fixes automake bug#8847.

* m4/python.m4 (AM_PATH_PYTHON): Add python3.3 to
_AM_PYTHON_INTERPRETER_LIST.
* lib/py-compile: Fix compiled filenames for PEP-3147, currently
implemented in CPython 3.2 and newer.  Do not create '.pyo' files
for PyPy.

Copyright-paperwork-exempt: yes
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/py-compile
m4/python.m4