Serhiy Storchaka added the comment:

highlight.py contains a code to support Python 2:

try:
    import builtins
except ImportError:
    import __builtin__ as builtins

If Python 2 should be supported, there is no the html module in Python 2. 
Otherwise this workaround can be dropped.

----------
Added file: http://bugs.python.org/file37296/cgi2html2.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22924>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to