[issue25216] Warnings stacklevel frames to skip

2015-12-10 Thread John Mark Vandenberg
John Mark Vandenberg added the comment: This looks a lot like the patch on http://bugs.python.org/issue850482 -- ___ Python tracker ___ __

[issue25216] Warnings stacklevel frames to skip

2015-12-10 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : -- nosy: +jayvdb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue25216] Warnings stacklevel frames to skip

2015-09-22 Thread Jim Jewett
Changes by Jim Jewett : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue25216] Warnings stacklevel frames to skip

2015-09-22 Thread Jim Jewett
New submission from Jim Jewett: warnings.warn(stacklevel=2) is a longstanding idiom. It broke in 3.3 because python itself added some additional infrastructure frames in between; now stacklevel should be 8 or 10 in some releases. issue24305 adds a workaround for 3.5, to ignore internal frames