Re: [PATCH] PR libstdc++/86112 fix printers for Python 2.6

2018-06-25 Thread Jonathan Wakely
On 25/06/18 22:03 +0100, Jonathan Wakely wrote: 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 comprehen

[PATCH] PR libstdc++/86112 fix printers for Python 2.6

2018-06-25 Thread Jonathan Wakely
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. Tested x86_64-linux, committed to trunk.