]> granicus.if.org Git - python/commit
[3.6] bpo-30978: str.format_map() now passes key lookup exceptions through. (GH-2790...
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 3 Aug 2017 09:14:07 +0000 (12:14 +0300)
committerGitHub <noreply@github.com>
Thu, 3 Aug 2017 09:14:07 +0000 (12:14 +0300)
commitf08b2be4416163e3d18b8d09891e7cda0d8a21d4
tree90c0ef4c2509e79c801805d1901169e63e901466
parentf142e85d22ba135d5205280240f3a2fe1df2649f
[3.6] bpo-30978: str.format_map() now passes key lookup exceptions through. (GH-2790) (#2992)

Previously any exception was replaced with a KeyError exception.
(cherry picked from commit 5075416)
Lib/test/test_re.py
Lib/test/test_unicode.py
Misc/NEWS.d/next/Core and Builtins/2017-07-21-07-39-05.bpo-30978.f0jODc.rst [new file with mode: 0644]
Objects/stringlib/unicode_format.h