MCPcopy Create free account
hub / github.com/bloomberg/pystack / setPythonVersion

Method setPythonVersion

src/pystack/_pystack/process.cpp:782–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

780}
781
782void
783AbstractProcessManager::setPythonVersion(const std::pair<int, int>& version)
784{
785 d_py_v = getCPythonOffsets(version.first, version.second);
786 // Note: getCPythonOffsets can throw. Don't set these if it does.
787 d_major = version.first;
788 d_minor = version.second;
789}
790
791void
792AbstractProcessManager::warnIfOffsetsAreMismatched(remote_addr_t runtime_addr) const

Callers

nothing calls this directly

Calls 1

getCPythonOffsetsFunction · 0.85

Tested by

no test coverage detected