[issue10172] code block has no syntax coloring

2010-11-26 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This is because the Python used to render doesn't recognize the new-style exception catching; this will be fine once the system is upgraded to 2.6. -- nosy: +georg.brandl resolution: - later status: open - closed

[issue10172] code block has no syntax coloring

2010-10-22 Thread Winston C. Yang
New submission from Winston C. Yang wins...@cs.wisc.edu: The following code block in http://docs.python.org/tutorial/errors.html has no syntax coloring: import sys try: f = open('myfile.txt') s = f.readline() i = int(s.strip()) except IOError as (errno, strerror): print I/O

[issue10172] code block has no syntax coloring

2010-10-22 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: 2.7 only (verified); 3.1 and 3.2 are fine. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10172 ___