This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 4.9] libstdc++ pretty-printers: Backport Python 3 support from mainline
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Samuel Bronson <naesten at gmail dot com>
- Cc: libstdc++ at gcc dot gnu dot org, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 4 Aug 2014 10:19:06 +0100
- Subject: Re: [PATCH 4.9] libstdc++ pretty-printers: Backport Python 3 support from mainline
- Authentication-results: sourceware.org; auth=none
- References: <1407114316-22676-1-git-send-email-naesten at gmail dot com>
On 03/08/14 21:05 -0400, Samuel Bronson wrote:
Since Jonathan Wakely independantly committed some of the changes I was
preparing, I had to backport two commits, r210625 and r212453
(git commits 3a30bda and b0a6074).
2014-08-02 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.
This should be OK for the branch, I'll commit it today.