[Bug libstdc++/86112] [8/9 Regression] Python printers don't work on Python 2.6
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 25 21:04:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86112
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Jun 25 21:03:49 2018
New Revision: 262115
URL: https://gcc.gnu.org/viewcvs?rev=262115&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:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/python/libstdcxx/v6/printers.py
More information about the Gcc-bugs
mailing list