This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients georg.brandl, serhiy.storchaka
Date 2014-02-17.17:08:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392656897.9.0.470928651824.issue20662@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2014-02-17 17:08:17serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl
2014-02-17 17:08:17serhiy.storchakasetmessageid: <1392656897.9.0.470928651824.issue20662@psf.upfronthosting.co.za>
2014-02-17 17:08:17serhiy.storchakalinkissue20662 messages
2014-02-17 17:08:17serhiy.storchakacreate