[issue12938] html.escape does not mention single quotes (')

2011-09-08 Thread zvin
New submission from zvin : The html.escape docstring says: """ Replace special characters "&", "<" and ">" to HTML-safe sequences. If the optional flag quote is true (the default), the quotation mark character (") is also translate

[issue12938] html.escape docstring does not mention single quotes (')

2011-09-08 Thread zvin
Changes by zvin : -- title: html.escape does not mention single quotes (') -> html.escape docstring does not mention single quotes (') ___ Python tracker <http://bugs.pytho

[issue12938] html.escape docstring does not mention single quotes (')

2011-09-08 Thread zvin
zvin added the comment: Or maybe instead of updating the docstring, we should remove the single quote (') from _escape_map_full. cgi.escape did not escaped the single quotes (') and if you use it now, it says: "PendingDeprecationWarning: cgi.escape is deprecated, use html