Ned Deily <n...@python.org> added the comment:
This question has come up before. See Issue13648 where it was pointed out that null characters "are forbidden both in raw form *and* in escaped form. So even if they get escaped, they *still* will lead to errors. So there is no point in escaping them." ---------- nosy: +ned.deily resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> xml.sax.saxutils.escape does not escapes \x00 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35613> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com