Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

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).

----------
keywords: +easy

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34160>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to