]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-104310: Rename the New Function in importlib.util (gh-105255)
authorEric Snow <ericsnowcurrently@gmail.com>
Thu, 8 Jun 2023 18:19:58 +0000 (12:19 -0600)
committerGitHub <noreply@github.com>
Thu, 8 Jun 2023 18:19:58 +0000 (18:19 +0000)
commit34c63b86d3c33a85acf55a0c5c118304754e145d
tree51cc4d5fcd0e1c58394d458ccc472a680ad9132b
parent7799c8e678f759c7787785c6287140abe641d1b9
gh-104310: Rename the New Function in importlib.util (gh-105255)

The original name wasn't as clear as it could have been. This change includes the following:

* rename the function
* change the default value for "disable_check" to False
* add clues to the docstring that folks should probably not use the function

---------

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Lib/importlib/util.py
Lib/test/test_importlib/test_util.py
Misc/NEWS.d/next/Library/2023-06-02-14-23-41.gh-issue-104310.UamCOB.rst [new file with mode: 0644]