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 serhiy.storchaka
Recipients adpoliak, eli.bendersky, serhiy.storchaka
Date 2013-01-13.12:17:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358079477.23.0.29237583324.issue14377@psf.upfronthosting.co.za>
In-reply-to
Content
Patch updated (tostring() and tostringlist() refet to write() about short_empty_elements parameter). Perhaps descriptions of encoding and method parameters should not be repeated too?

> Why do you force short_empty_elements to be keyword only?

Because sequences of parameters in XMLGenerator(), ElementTree.write(), ElementTree.tostring() are different and this can confuse. Also it will be easer to deprecate or rename keyword-only parameter in future (in favor of general fabric for example). I think that all optional, non-basic and very rarely used parameters should by keyword-only.
History
Date User Action Args
2013-01-13 12:17:57serhiy.storchakasetrecipients: + serhiy.storchaka, eli.bendersky, adpoliak
2013-01-13 12:17:57serhiy.storchakasetmessageid: <1358079477.23.0.29237583324.issue14377@psf.upfronthosting.co.za>
2013-01-13 12:17:57serhiy.storchakalinkissue14377 messages
2013-01-13 12:17:56serhiy.storchakacreate