diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-06-08 18:19:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 18:19:58 (GMT) |
commit | 34c63b86d3c33a85acf55a0c5c118304754e145d (patch) | |
tree | 51cc4d5fcd0e1c58394d458ccc472a680ad9132b /Misc/NEWS.d/next/Library | |
parent | 7799c8e678f759c7787785c6287140abe641d1b9 (diff) | |
download | cpython-34c63b86d3c33a85acf55a0c5c118304754e145d.zip cpython-34c63b86d3c33a85acf55a0c5c118304754e145d.tar.gz cpython-34c63b86d3c33a85acf55a0c5c118304754e145d.tar.bz2 |
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>
Diffstat (limited to 'Misc/NEWS.d/next/Library')
-rw-r--r-- | Misc/NEWS.d/next/Library/2023-06-02-14-23-41.gh-issue-104310.UamCOB.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-06-02-14-23-41.gh-issue-104310.UamCOB.rst b/Misc/NEWS.d/next/Library/2023-06-02-14-23-41.gh-issue-104310.UamCOB.rst new file mode 100644 index 0000000..461a3a2 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-06-02-14-23-41.gh-issue-104310.UamCOB.rst @@ -0,0 +1,7 @@ +In the beta 1 release we added a utility function for extension module +authors, to use when testing their module for support in multiple +interpreters or under a per-interpreter GIL. The name of that function has +changed from ``allowing_all_extensions`` to +``_incompatible_extension_module_restrictions``. The default for the +"disable_check" argument has change from ``True`` to ``False``, to better +match the new function name. |