New submission from Serhiy Storchaka: Pydoc doesn't escape parameter defaults in generated html files. For example for the socket.__init__() method in the socket module following html code is generated:
<dl><dt><a name="socket-__init__"><strong>__init__</strong></a>(self, family=<AddressFamily.AF_INET: 2>, type=<SocketType.SOCK_STREAM: 1>, proto=0, fileno=None)</dt></dl> As result <AddressFamily.AF_INET: 2> and <SocketType.SOCK_STREAM: 1> aren't visible in browser (they are illegal html tags). ---------- components: Library (Lib) messages: 211426 nosy: georg.brandl, serhiy.storchaka priority: normal severity: normal status: open title: Pydoc doesn't escape parameter defaults in html type: behavior versions: Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20662> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com