Eric V. Smith <e...@trueblade.com> added the comment: Changing the title to reflect the real problem.
You get a SystemError even when using a mapping, if you have a format string with positional arguments: >>> '{}'.format_map({'a':0}) Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: null argument to internal routine ---------- title: str.format_map raises a SystemError for non-mapping -> str.format_map raises a SystemError for format strings with positional arguments _______________________________________ 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