[PATCH 4.8] libstdc++ pretty-printers: Backport Python 3 support from mainline
Samuel Bronson
naesten@gmail.com
Wed Aug 13 06:03:00 GMT 2014
This was a bit trickier than the backport to 4.9: but the tests pass,
except this one:
UNSUPPORTED: libstdc++-prettyprinters/shared_ptr.cc
This is a bit puzzling, but seems unrelated to my change.
2014-08-13 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 | 108 +++++++++++++++++++--------
libstdc++-v3/testsuite/lib/gdb-test.exp | 4 +-
3 files changed, 98 insertions(+), 34 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-2014-08-13-Samuel-Bronson-naesten-gmail.com.patch
Type: text/x-patch
Size: 12377 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20140813/b81b0d38/attachment.bin>
More information about the Libstdc++
mailing list