Łukasz Langa <luk...@langa.pl> added the comment: Patch included.
New type-related unit tests have shown undesirable behaviour of read_dict() when the given option values are not strings. Support for numbers, booleans and Nones is likely to be expected so this change was introduced. `default' can hold a non-string value. `vars' were modified to accept other types as well, for consistency. ---------- keywords: +needs review, patch Added file: http://bugs.python.org/file18457/issue9421.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9421> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com