summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2018-04-28-08-11-35.bpo-33375.Dbq1fz.rst
blob: f3f9d2a508816acaddfb7fbe2b2d2c587a01cbd1 (plain)
1
2
3
4
The warnings module now finds the Python file associated with a warning from
the code object, rather than the frame's global namespace. This is
consistent with how tracebacks and pdb find filenames, and should work
better for dynamically executed code.