Message211426
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). |
|
Date |
User |
Action |
Args |
2014-02-17 17:08:17 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, georg.brandl |
2014-02-17 17:08:17 | serhiy.storchaka | set | messageid: <1392656897.9.0.470928651824.issue20662@psf.upfronthosting.co.za> |
2014-02-17 17:08:17 | serhiy.storchaka | link | issue20662 messages |
2014-02-17 17:08:17 | serhiy.storchaka | create | |
|