mirror of
https://github.com/python/cpython.git
synced 2025-08-23 10:16:01 +00:00
Issue #23911: Move path-based bootstrap code to a separate frozen module.
This commit is contained in:
parent
6b4c63dea5
commit
32439d6eb6
27 changed files with 6192 additions and 5712 deletions
|
@ -58,7 +58,7 @@ class _ModifiedArgv0(object):
|
|||
self.value = self._sentinel
|
||||
sys.argv[0] = self._saved_value
|
||||
|
||||
# TODO: Replace these helpers with importlib._bootstrap functions
|
||||
# TODO: Replace these helpers with importlib._bootstrap_external functions.
|
||||
def _run_code(code, run_globals, init_globals=None,
|
||||
mod_name=None, mod_spec=None,
|
||||
pkg_name=None, script_name=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue