Łukasz Langa <luk...@langa.pl> added the comment:

FTR, some people questioned the purpose of read_dict(). Let me summarize this 
very briefly here:

- the API is using dictionaries similar to those in defaults= but has one level 
of depth more (sections)
- initializing a parser with a dictionary produces syntax that is more natural 
in code
- having a single method implementing reading a dictionary with unit tests, 
support for proper duplicate handling, etc. frees users from writing their own
- we need that anyway for upcoming mapping protocol access discussed in #5412
- more detailed use cases in msg112429

----------

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

Reply via email to