[Bug libstdc++/58962] Pretty printers use obsolete Python syntax

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 4 18:51:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58962

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Aug  4 18:50:30 2014
New Revision: 213604

URL: https://gcc.gnu.org/viewcvs?rev=213604&root=gcc&view=rev
Log:
2014-08-04  Samuel Bronson  <naesten@gmail.com>

    Backport r212453 from trunk
    2014-07-11  Samuel Bronson  <naesten@gmail.com>
            Matthias Klose  <doko@ubuntu.com>

    PR libstdc++/58962
    * python/libstdcxx/v6/printers.py: Port to Python 2+3
    (imap): New compat function.
    (izip): Likewise.
    (Iterator): New mixin to allow writing iterators in Python 3 style
    regardless of which version we're running on.
    [Python3] (long) New compat alias for "int".
    * testsuite/lib/gdb-test.exp: Port to Python 2+3 (print syntax)

    Backport r210625 from trunk
    2014-05-19  Jonathan Wakely  <jwakely@redhat.com>

    * python/libstdcxx/v6/printers.py: Use Python3 raise syntax.

Modified:
    branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_9-branch/libstdc++-v3/python/libstdcxx/v6/printers.py
    branches/gcc-4_9-branch/libstdc++-v3/testsuite/lib/gdb-test.exp



More information about the Gcc-bugs mailing list