This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author scoder
Recipients Bernt.Røskar.Brenna, eli.bendersky, scoder, serhiy.storchaka
Date 2019-03-08.08:58:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552035536.9.0.477206860525.issue36227@roundup.psfhosted.org>
In-reply-to
Content
lxml does not support the "default_namespace" option specifically (because its tree model preserves namespace prefixes), but it generally makes all (justifiable) serialisation options available to both tostring() and ET.write().

I think the same should apply to ElementTree. Both the "default_namespace" and "doctype" options seem useful regardless of the serialisation target.
History
Date User Action Args
2019-03-08 08:58:56scodersetrecipients: + scoder, eli.bendersky, Bernt.Røskar.Brenna, serhiy.storchaka
2019-03-08 08:58:56scodersetmessageid: <1552035536.9.0.477206860525.issue36227@roundup.psfhosted.org>
2019-03-08 08:58:56scoderlinkissue36227 messages
2019-03-08 08:58:56scodercreate