gc.is_tracked(obj) Returns True if the object is currently tracked by the garbage collector, False
sys.byteorder An indicator of the native byte order. This will have the value 'big' on big-endian (most-significant
sys.settrace(tracefunc) Set the system’s trace function, which allows you to implement a Python source code debugger in Python
inspect.ismethod(object) Return true if the object is a bound method written in Python.
sys.getallocatedblocks() Return the number of memory blocks currently allocated by the interpreter, regardless of their size
offset For syntax errors - the offset into the text where the error occurred.
sys.exec_prefix A string giving the site-specific directory prefix where the platform-dependent Python files are installed;
class abc.ABCMeta Metaclass for defining Abstract Base Classes (ABCs). Use this metaclass to
sys.getdefaultencoding() Return the name of the current default string encoding used by the Unicode implementation.
sys.setswitchinterval(interval) Set the interpreter’s thread switch interval (in seconds). This floating-point value determines
Page 2 of 26