[issue6081] str.format_from_mapping()

Eric Smith report at bugs.python.org
Thu Mar 18 20:27:55 CET 2010


Eric Smith <eric at trueblade.com> added the comment:

I agree with David.

Although it's not clear to my why the code doesn't just work with the addition of do_string_format_using_mapping and without the other code. It's possible the existing code is too dict-specific and should be calling a more generic PyObject interface, like PyMapping_GetItemString instead of PyDict_GetItem.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6081>
_______________________________________


More information about the Python-bugs-list mailing list