]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/58962 (Pretty printers use obsolete Python syntax)
authorSamuel Bronson <naesten@gmail.com>
Fri, 11 Jul 2014 13:43:07 +0000 (13:43 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 11 Jul 2014 13:43:07 +0000 (14:43 +0100)
commitcdd1ba62102cd0196d6692b1af256680151fc222
tree220ede585b1fc412d0aed322e6ac7e8c72a58c98
parent21e8fb22580939c384699b75bcc0d7490beba819
re PR libstdc++/58962 (Pretty printers use obsolete Python syntax)

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)

Co-Authored-By: Matthias Klose <doko@ubuntu.com>
From-SVN: r212453
libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/printers.py
libstdc++-v3/testsuite/lib/gdb-test.exp