https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86112
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon Jun 25 21:06:56 2018 New Revision: 262116 URL: https://gcc.gnu.org/viewcvs?rev=262116&root=gcc&view=rev Log: PR libstdc++/86112 fix printers for Python 2.6 Dict comprehensions are only supported since Python 2.7, so use an alternative syntax that is backwards compatible. PR libstdc++/86112 * python/libstdcxx/v6/printers.py (add_one_template_type_printer): Replace dict comprehension. Modified: branches/gcc-8-branch/libstdc++-v3/ChangeLog branches/gcc-8-branch/libstdc++-v3/python/libstdcxx/v6/printers.py