Martin Panter added the comment: The difference of calling XMLParser.doctype() between the implementations is another argument for removing it completely. With all these bugs, and no opposition that I know of, I think it should be okay to remove the deprecated doctype() method in 3.5.
doctype-remove.v2.patch adds a tweaked version of the original test for no DeprecationWarning from the other patch. ---------- Added file: http://bugs.python.org/file38755/doctype-remove.v2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19176> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com