Message179867
| 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: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 |
|