diff options
| author | Eric Snow <ericsnowcurrently@gmail.com> | 2021-10-16 13:16:08 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-16 13:16:08 -0600 |
| commit | b9cdd0fb9c463c2503a4d854bb6529a9db58fe1b (patch) | |
| tree | c6ce34fda3658787cefa1b0c88721216637ba657 /Include | |
| parent | fe0d9e22a52a10c4cbe52254b51f2d4e74d83568 (diff) | |
| download | cpython-git-b9cdd0fb9c463c2503a4d854bb6529a9db58fe1b.tar.gz | |
bpo-45020: Default to using frozen modules unless running from source tree. (gh-28940)
The default was "off". Switching it to "on" means users get the benefit of frozen stdlib modules without having to do anything. There's a special-case for running-in-source-tree, so contributors don't get surprised when their stdlib changes don't get used.
https://bugs.python.org/issue45020
Diffstat (limited to 'Include')
| -rw-r--r-- | Include/internal/pycore_fileutils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_fileutils.h b/Include/internal/pycore_fileutils.h index 3464477bce..ab436ae9b0 100644 --- a/Include/internal/pycore_fileutils.h +++ b/Include/internal/pycore_fileutils.h @@ -79,6 +79,7 @@ extern wchar_t * _Py_join_relfile(const wchar_t *dirname, extern int _Py_add_relfile(wchar_t *dirname, const wchar_t *relfile, size_t bufsize); +extern size_t _Py_find_basename(const wchar_t *filename); // Macros to protect CRT calls against instant termination when passed an // invalid parameter (bpo-23524). IPH stands for Invalid Parameter Handler. |
