Changed some ValueError's to KeyError and IndexError.
Corrected code for invalid conversion specifier. Added tests to verify. Modified string.Formatter to correctly expand format_spec's, and added a limit to recursion depth. Added _vformat() method to support both of these.
E
Eric Smith committed
11529195cae2438a3ac003babcb1b11af67c4037
Parent: 0af1761