Serhiy Storchaka added the comment:

The purpose of xml.sax.saxutils.escape() is escaping characters, that can't be 
used directly in XML: "&", "<", etc. Quotes are escaped in attributes. It 
shouldn't be used for replacing ";", because this character itself is used in 
escapes.

There is no a bug. If use this function correctly it works as expected.

----------

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

Reply via email to