]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38059: Using sys.exit() over exit() in inspect.py (GH-15666)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 9 Sep 2019 15:20:36 +0000 (08:20 -0700)
committerGitHub <noreply@github.com>
Mon, 9 Sep 2019 15:20:36 +0000 (08:20 -0700)
commit0d4396c04cba5ac2b66fdaa23c01db84b1b54227
tree1b141ba7fe161f85ff5dfd392be74d5a80975531
parent3bd4bed78a0b068e28bcf2242d33aed227c2532c
bpo-38059: Using sys.exit() over exit() in inspect.py (GH-15666)

Constants added by the site module like exit() "should not be used in programs"
(cherry picked from commit e3c59a75279b0df4e7553d6f0031e202de434e43)

Co-authored-by: Alan Yee <alanyee@users.noreply.github.com>
Lib/inspect.py
Misc/NEWS.d/next/Library/2019-09-08-11-36-50.bpo-38059.8SA6co.rst [new file with mode: 0644]