Eric V. Smith <e...@trueblade.com> added the comment: I think the issue is that it should be an error in any string used for format_map() to have a positional argument. So the right thing to do is detect this case in get_field_object (index != -1 and args is NULL). So I think a new test near line 515 really is the right thing to do. With a good comment explaining what's going on.
I'm pretty sure the only case where args is NULL is when used with format_map(), but that needs to be verified. ---------- _______________________________________ 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