os.execve()

os.execve(path, args, env) os.execvp(file, args) os.execvpe(file, args, env) These functions all execute a new program, replacing the current process; they do not return. On Unix, the new executable is loaded into the current process, and will have the same process id as the caller. Errors will be reported as OSError exceptions. The current process is replaced immediately. Open file objects and descriptors are not flushed, so if there may be data buffered on these open files, you should flush

plistlib.Data

class plistlib.Data(data) Return a “data” wrapper object around the bytes object data. This is used in functions converting from/to plists to represent the <data> type available in plists. It has one attribute, data, that can be used to retrieve the Python bytes object stored in it. Deprecated since version 3.4: Use a bytes object instead.

zlib.error

exception zlib.error Exception raised on compression and decompression errors.

email.policy.EmailPolicy.header_factory

header_factory A callable that takes two arguments, name and value, where name is a header field name and value is an unfolded header field value, and returns a string subclass that represents that header. A default header_factory (see headerregistry) is provided that understands some of the RFC 5322 header field types. (Currently address fields and date fields have special treatment, while all other fields are treated as unstructured. This list will be completed before the extension is mark

email.policy.EmailPolicy.content_manager

content_manager An object with at least two methods: get_content and set_content. When the get_content() or set_content() method of a Message object is called, it calls the corresponding method of this object, passing it the message object as its first argument, and any arguments or keywords that were passed to it as additional arguments. By default content_manager is set to raw_data_manager. New in version 3.4.

threading.BoundedSemaphore

class threading.BoundedSemaphore(value=1) Class implementing bounded semaphore objects. A bounded semaphore checks to make sure its current value doesn’t exceed its initial value. If it does, ValueError is raised. In most situations semaphores are used to guard resources with limited capacity. If the semaphore is released too many times it’s a sign of a bug. If not given, value defaults to 1. Changed in version 3.3: changed from a factory function to a class.

curses.window.getstr()

window.getstr([y, x]) Read a string from the user, with primitive line editing capacity.

dis.disassemble()

dis.disassemble(code, lasti=-1, *, file=None) dis.disco(code, lasti=-1, *, file=None) Disassemble a code object, indicating the last instruction if lasti was provided. The output is divided in the following columns: the line number, for the first instruction of each line the current instruction, indicated as -->, a labelled instruction, indicated with >>, the address of the instruction, the operation code name, operation parameters, and interpretation of the parameters in parentheses

urllib.request.Request.set_proxy()

Request.set_proxy(host, type) Prepare the request by connecting to a proxy server. The host and type will replace those of the instance, and the instance’s selector will be the original URL given in the constructor.

threading.Condition.acquire()

acquire(*args) Acquire the underlying lock. This method calls the corresponding method on the underlying lock; the return value is whatever that method returns.