Serhiy Storchaka added the comment: Here is a patch that also fixes other issues with doctype.
1) Direct call of doctype() issues a warning. 2) Parser's doctype() is not called if target's doctype() is called. ---------- Added file: http://bugs.python.org/file39820/inherit-doctype.v3.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