[issue12579] str.format_map raises a SystemError for non-mapping

Julian report at bugs.python.org
Sun Jul 17 16:43:42 CEST 2011


New submission from Julian <Julian+Python.org at GrayVines.com>:

Attached is just a failing test case (just `print("{}".format_map(12))`), haven't been able to decipher the chain of calls in the unicodeobject.c code yet to see where the best place to put the fix would be (inside do_format_map before the pass back upwards maybe?).

Assuming this should be a TypeError obviously, soon as I can figure out where to put the fix I'll update the patch.

----------
components: Interpreter Core
files: format_map_err.patch
keywords: patch
messages: 140528
nosy: Julian
priority: normal
severity: normal
status: open
title: str.format_map raises a SystemError for non-mapping
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file22681/format_map_err.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12579>
_______________________________________


More information about the Python-bugs-list mailing list