]> granicus.if.org Git - python/commit
[2.7] bpo-33026: Fix jumping out of "with" block by setting f_lineno. (GH-6026)....
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 11 Mar 2018 08:55:59 +0000 (00:55 -0800)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 11 Mar 2018 08:55:59 +0000 (10:55 +0200)
commit3854f5885edc8dc67b1aba82fbb525604fbc625b
tree0a0bbb9d9abf6ef0ba2ffdbfcc4df8be91cd4126
parent34bb88dc5bc447832db8c7ccdc173311e0685eab
[2.7] bpo-33026: Fix jumping out of "with" block by setting f_lineno. (GH-6026). (GH-6074) (GH-6076)

(cherry picked from commit 26c9f565d016db21257a60d29ab2c99383dd5ac7)
(cherry picked from commit 04aadf23eac51fec2e436c5960c1362bbb7d03de)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_sys_settrace.py
Misc/NEWS.d/next/Core and Builtins/2018-03-08-09-48-38.bpo-33026.QZA3Ba.rst [new file with mode: 0644]
Objects/frameobject.c