py_internals – Python internals¶
This module provides a dictionary that describes the internals of carious
python versions. It is used in various parts of pwnypack (
pwnypack.bytecode and pwnypack.pickle).
Please note that this module is automatically generated by
the build_py_internals.py script.
-
pwnypack.py_internals.get_py_internals(version=None, default=None)[source]¶ Given a version specification. It can be any dict which is returned verbatim, an index into
PY_INTERNALSorNone.Parameters: - version – The python version to return the internals of.
- default – The python version that will be looked up if
versionis None.
Returns: The python internals for the requested version.
Return type: dict
-
pwnypack.py_internals.PY_260= {...}¶ This dictionary describes the internals of CPython 2.6.0.
-
pwnypack.py_internals.PY_270= {...}¶ This dictionary describes the internals of CPython 2.7.0.
-
pwnypack.py_internals.PY_300= {...}¶ This dictionary describes the internals of CPython 3.0.0.
-
pwnypack.py_internals.PY_310= {...}¶ This dictionary describes the internals of CPython 3.1.0.
-
pwnypack.py_internals.PY_320= {...}¶ This dictionary describes the internals of CPython 3.2.0.
-
pwnypack.py_internals.PY_330= {...}¶ This dictionary describes the internals of CPython 3.3.0.
-
pwnypack.py_internals.PY_340= {...}¶ This dictionary describes the internals of CPython 3.4.0.
-
pwnypack.py_internals.PY_350= {...}¶ This dictionary describes the internals of CPython 3.5.0.
-
pwnypack.py_internals.PY_352= {...}¶ This dictionary describes the internals of CPython 3.5.2.
-
pwnypack.py_internals.PY_360= {...}¶ This dictionary describes the internals of CPython 3.6.0.
-
pwnypack.py_internals.PY_INTERNALS= {260: PY_260, 270: PY_270, 300: PY_300, 310: PY_310, 320: PY_320, 330: PY_330, 340: PY_340, 350: PY_350, 352: PY_352, 360: PY_360}¶ This dictionary describes the internals of various python versions.