]> 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:19:13 +0000 (08:19 -0700)
committerGitHub <noreply@github.com>
Mon, 9 Sep 2019 15:19:13 +0000 (08:19 -0700)
commitb7bf632d4ebacfeffc8770a7848c690fa2a90a62
tree49d02ecd557eb5bb17165c2dab3fd5ea5b93bc71
parent55a6f73b49625ebff575521c3a0b919880f5f0ec
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]