MCPcopy Index your code
hub / github.com/pex-tool/pex / __init__

Method __init__

pex/interpreter.py:1399–1410  ·  view source on GitHub ↗

Construct a PythonInterpreter. You should probably use `PythonInterpreter.from_binary` instead.

(self, identity)

Source from the content-addressed store, hash-verified

1397 return env_copy
1398
1399 def __init__(self, identity):
1400 # type: (PythonIdentity) -> None
1401 """Construct a PythonInterpreter.
1402
1403 You should probably use `PythonInterpreter.from_binary` instead.
1404 """
1405 self._identity = identity
1406 self._binary = self.canonicalize_path(self.identity.binary)
1407
1408 self._supported_platforms = None
1409
1410 self._PYTHON_INTERPRETER_BY_NORMALIZED_PATH[self._binary] = self
1411
1412 @property
1413 def binary(self):

Callers

nothing calls this directly

Calls 1

canonicalize_pathMethod · 0.95

Tested by

no test coverage detected