sys.get_coroutine_wrapper()

sys.get_coroutine_wrapper() Returns None, or a wrapper set by set_coroutine_wrapper(). New in version 3.5: See PEP 492 for more details. Note This function has been added on a provisional basis (see PEP 411 for details.) Use it only for debugging purposes.

sys.getwindowsversion()

sys.getwindowsversion() Return a named tuple describing the Windows version currently running. The named elements are major, minor, build, platform, service_pack, service_pack_minor, service_pack_major, suite_mask, and product_type. service_pack contains a string while all other values are integers. The components can also be accessed by name, so sys.getwindowsversion()[0] is equivalent to sys.getwindowsversion().major. For compatibility with prior versions, only the first 5 elements are ret

sys.gettrace()

sys.gettrace() Get the trace function as set by settrace(). CPython implementation detail: The gettrace() function is intended only for implementing debuggers, profilers, coverage tools and the like. Its behavior is part of the implementation platform, rather than part of the language definition, and thus may not be available in all Python implementations.

sys.getswitchinterval()

sys.getswitchinterval() Return the interpreter’s “thread switch interval”; see setswitchinterval(). New in version 3.2.

sys.getsizeof()

sys.getsizeof(object[, default]) Return the size of an object in bytes. The object can be any type of object. All built-in objects will return correct results, but this does not have to hold true for third-party extensions as it is implementation specific. Only the memory consumption directly attributed to the object is accounted for, not the memory consumption of objects it refers to. If given, default will be returned if the object does not provide means to retrieve the size. Otherwise a T

sys.getrefcount()

sys.getrefcount(object) Return the reference count of the object. The count returned is generally one higher than you might expect, because it includes the (temporary) reference as an argument to getrefcount().

sys.getrecursionlimit()

sys.getrecursionlimit() Return the current value of the recursion limit, the maximum depth of the Python interpreter stack. This limit prevents infinite recursion from causing an overflow of the C stack and crashing Python. It can be set by setrecursionlimit().

sys.getprofile()

sys.getprofile() Get the profiler function as set by setprofile().

sys.getfilesystemencoding()

sys.getfilesystemencoding() Return the name of the encoding used to convert Unicode filenames into system file names. The result value depends on the operating system: On Mac OS X, the encoding is 'utf-8'. On Unix, the encoding is the user’s preference according to the result of nl_langinfo(CODESET). On Windows NT+, file names are Unicode natively, so no conversion is performed. getfilesystemencoding() still returns 'mbcs', as this is the encoding that applications should use when they expli

sys.getdlopenflags()

sys.getdlopenflags() Return the current value of the flags that are used for dlopen() calls. Symbolic names for the flag values can be found in the os module (RTLD_xxx constants, e.g. os.RTLD_LAZY). Availability: Unix.