This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Fri Jul 11 13:43:07 2014
New Revision: 212453

URL: https://gcc.gnu.org/viewcvs?rev=212453&root=gcc&view=rev
Log:
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)

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/python/libstdcxx/v6/printers.py
    trunk/libstdc++-v3/testsuite/lib/gdb-test.exp


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]