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

Jonathan Wakely jwakely@redhat.com
Mon Jun 25 21:06:00 GMT 2018


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 comprehension.
>
>Tested x86_64-linux, committed to trunk.

Oh, and gcc-8-branch.




More information about the Libstdc++ mailing list