Julian <julian+python....@grayvines.com> added the comment: Yeah, I saw the line you suggested and didn't think that was it.
To expand on this, perhaps "{foo}".format(12) should raise a TypeError as well? I'd expect that more than the current behavior which is a KeyError. That KeyError is getting raised in get_field_object, which is where the fix needs to be, or at least needs to be changed, I'm just trying not to duplicate code. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12579> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com