Author obfusk
Recipients corona10, eli.bendersky, obfusk, scoder, serhiy.storchaka
Date 2020-10-27.19:27:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603826864.32.0.116047770085.issue42151@roundup.psfhosted.org>
In-reply-to
Content
> specified_attributes = True is also set in xml.dom.expatbuilder.

That's good to know and should perhaps be addressed as well.

> Should not it be set to true in the C implementation of ElementTree?

That would break existing code.  Including mine.

I also think the current behaviour of the C implementation makes a lot more sense, especially as there is currently no way to request the alternative.

I think using specified_attributes=False as the default behaviour for both implementations is the best solution.  But I certainly would not oppose adding e.g. a keyword argument to override the default behaviour for those who would prefer the alternative.
History
Date User Action Args
2020-10-27 19:27:44obfusksetrecipients: + obfusk, scoder, eli.bendersky, serhiy.storchaka, corona10
2020-10-27 19:27:44obfusksetmessageid: <1603826864.32.0.116047770085.issue42151@roundup.psfhosted.org>
2020-10-27 19:27:44obfusklinkissue42151 messages
2020-10-27 19:27:44obfuskcreate