| commit | 11529195cae2438a3ac003babcb1b11af67c4037 | [log] [tgz] |
|---|---|---|
| author | Eric Smith <eric@trueblade.com> | Tue Sep 04 23:04:22 2007 +0000 |
| committer | Eric Smith <eric@trueblade.com> | Tue Sep 04 23:04:22 2007 +0000 |
| tree | 2bf0ac780377e409f87ad51aca8d8bc7c882f015 | |
| parent | 0af17617c51d6cae4c0b7ff225751e07183b96f2 [diff] |
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.