Stefan Krah added the comment: I don't know the reason for the previous behavior, but it's documented:
http://docs.python.org/dev/c-api/unicode.html?highlight=pyunicode_fromformatv#PyUnicode_FromFormat "An unrecognized format character causes all the rest of the format string to be copied as-is to the result string, and any extra arguments discarded." ---------- nosy: +skrah _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16153> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com