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 eli.bendersky, rhettinger, scoder, serhiy.storchaka, taleinat
Date 2018-10-26.18:38:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540579128.97.0.788709270274.issue34160@psf.upfronthosting.co.za>
In-reply-to
Content
This is an easy issue and I left it for beginning contributors. The PR should include the following changes:

* Add an optional sort_attrs parameter (True by default) in the write() method.

* Make the dump() function passing sort_attrs=False to write().

* Add tests for write() (with sort_attrs=False and sort_attrs=True) and dump() and/or modify existing tests.

* Document change (in the module docs, in What's New, news entry).
History
Date User Action Args
2018-10-26 18:38:49serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, scoder, taleinat, eli.bendersky
2018-10-26 18:38:48serhiy.storchakasetmessageid: <1540579128.97.0.788709270274.issue34160@psf.upfronthosting.co.za>
2018-10-26 18:38:48serhiy.storchakalinkissue34160 messages
2018-10-26 18:38:48serhiy.storchakacreate