[PATCH 4.9] libstdc++ pretty-printers: Backport Python 3 support from mainline
Samuel Bronson
naesten@gmail.com
Mon Aug 4 01:38:00 GMT 2014
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.
---
libstdc++-v3/ChangeLog | 20 +++++
libstdc++-v3/python/libstdcxx/v6/printers.py | 120 ++++++++++++++++++---------
libstdc++-v3/testsuite/lib/gdb-test.exp | 4 +-
3 files changed, 104 insertions(+), 40 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libstdc-pretty-printers-Backport-Python-3-support-fr.patch
Type: text/x-patch
Size: 13972 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20140804/1530909d/attachment.bin>
More information about the Libstdc++
mailing list