]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40807: Show warnings once from codeop._maybe_compile (GH-20486)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 4 Jun 2020 23:59:44 +0000 (16:59 -0700)
committerGitHub <noreply@github.com>
Thu, 4 Jun 2020 23:59:44 +0000 (16:59 -0700)
commit3dfe549bfa08a099b88efd030669359199f31064
treebaf7616d9c40b24bd8b9c82849d43f1435387388
parente4e5ec18e2f79f9bba439b531ebf89ac148deda0
bpo-40807: Show warnings once from codeop._maybe_compile (GH-20486)

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

* Move catch_warnings

* news

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 052d3fc0907be253cfd64b2c737a0b0aca586011)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
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]