[PATCH v3 3/3] Port libstdc++ pretty-printers to Python 2 + Python 3

Jonathan Wakely jwakely@redhat.com
Fri Jul 11 13:49:00 GMT 2014


On 10/07/14 22:48 -0400, Samuel Bronson wrote:
>	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)

Thanks, I've committed this with a few tiny changes to the comments
(s/compatability/compatibility/ and the comment about your GDB PR).

I'm not planning to backport this myself, but if the patch applies
cleanly or if someone else does the work then I have no objections to
it going on the release branches (after the branch reopens post-4.9.1
of course).

Thanks very much for doing this.



More information about the Libstdc++ mailing list