Message179867
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. |
|
Date |
User |
Action |
Args |
2013-01-13 12:17:57 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, eli.bendersky, adpoliak |
2013-01-13 12:17:57 | serhiy.storchaka | set | messageid: <1358079477.23.0.29237583324.issue14377@psf.upfronthosting.co.za> |
2013-01-13 12:17:57 | serhiy.storchaka | link | issue14377 messages |
2013-01-13 12:17:56 | serhiy.storchaka | create | |
|