]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40807: Show warnings once from codeop._maybe_compile (#20486)
authorCheryl Sabella <cheryl.sabella@gmail.com>
Thu, 4 Jun 2020 23:40:24 +0000 (19:40 -0400)
committerGitHub <noreply@github.com>
Thu, 4 Jun 2020 23:40:24 +0000 (19:40 -0400)
commit052d3fc0907be253cfd64b2c737a0b0aca586011
tree3d50f8cb5dbbdab51518e443c456b24f7172aa0d
parent3744ed2c9c0b3905947602fc375de49533790cb9
bpo-40807: Show warnings once from codeop._maybe_compile (#20486)

* bpo-40807: Show warnings once from codeop._maybe_compile

* Move catch_warnings

* news

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/codeop.py
Lib/test/test_codeop.py
Misc/NEWS.d/next/Library/2020-06-04-16-25-15.bpo-40807.yYyLWx.rst [new file with mode: 0644]