[PATCH 4.9] libstdc++ pretty-printers: Backport Python 3 support from mainline

Jonathan Wakely jwakely@redhat.com
Mon Aug 4 09:19:00 GMT 2014


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.



More information about the Libstdc++ mailing list