Resync python-config.py with Python-2.7 version.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 8 Jul 2010 22:12:44 +0000 (22:12 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 8 Jul 2010 22:12:44 +0000 (22:12 +0000)
commit7e6e39e562179fd655e1407bba89c957902b5a8b
tree990c98621345dd22063556189e10546c6cb904cf
parent76b8507d09ca637db4d9b13a6d2400df4b1bd2df
Resync python-config.py with Python-2.7 version.

This is just a copy of the Python 2.7 version of python-config.py.
Tested with versions 2.5 and 2.6.  It's nearly identical to the
previous version, except it's written in a more pythonic way,
so it should be fine for 2.4 as well.

gdb/ChangeLog:

        * python/python-config.py: Resync with Python 2.7 version of this
        script.
gdb/ChangeLog
gdb/python/python-config.py