:orphan: .. _s_11PytoRuntime7VersionV: ``Version`` =========== A Python version. .. raw:: html .. rubric:: Declaration .. raw:: html
struct Version
   
.. rubric:: Discussion PytoRuntime currently only supports one minor version per app bundle: ``3.14.0`` and ``3.14.1`` are treated as the same version and using them together results in undefined behaviour. .. rubric:: Initializers .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV6bundle10mainBundle6stringACSo8NSBundleC_AHSStcfc .. raw:: html
Initializes a version. .. rubric:: Members .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV4find2inSayACGSo8NSBundleC_tFZ .. raw:: html
Finds all Python versions in the given bundle. Searches for frameworks called ``"Python3xx"``. .. rubric:: Properties .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV6bundleSo8NSBundleCvp .. raw:: html
The framework bundle. .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV10mainBundleSo8NSBundleCvp .. raw:: html
The main app bundle. .. rubric:: Version info .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV6stringSSvp .. raw:: html
The string version (major.minor.micro). .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV04fullC6StringSSvp .. raw:: html
The full version string (fetched from full_version.txt in ``bundle``). (``v..``). .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV10pythonPathSaySSGvp .. raw:: html
The paths used to initialize Python’s module search path. .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV5majorSivp .. raw:: html
Major version. .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV5minorSivp .. raw:: html
Minor version. .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV5microSivp .. raw:: html
Micro version. .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV5alphaSiSgvp .. raw:: html
The alpha release. .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV4betaSiSgvp .. raw:: html
The beta release. .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV2rcSiSgvp .. raw:: html
The rc release. .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV11isEndOfLifeSbvp .. raw:: html
Indicates whether the version was compiled from an end of life branch. .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV7symbolsAA13PythonSymbolsCSgvp .. raw:: html
The CPython C symbols for this version. .. rubric:: Runtime .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV4load6symbolxSS_tKlF .. raw:: html
Loads a symbol from the binary with dlsym. .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7VersionV13throwIfNeededyyKF .. raw:: html
Throws an :swift:symbol:`PytoRuntime.Exception` if there is one that was unhandled. .. rubric:: Conforms to - ``Sendable`` - ``Identifiable`` - ``Hashable``