Filip Gruszczyński <grusz...@gmail.com> added the comment: I have created a new patch, that should be satisfying now. There is help (though it is quite small, I tried to mimic those that were already in unicode.c) and tests. Right now format_using_mapping is called like this:
format_using_mapping(mapping, *args) where mapping is a subscriptible object, that will be pushed to kwargs and the following args are used just like in normal format. This should be as similar to the normal format as possible. There are also tests, including usage presented in the ticket. ---------- Added file: http://bugs.python.org/file16632/6081_2.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6081> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com