multiprocessing.BufferTooShort

exception multiprocessing.BufferTooShort Exception raised by Connection.recv_bytes_into() when the supplied buffer object is too small for the message read. If e is an instance of BufferTooShort then e.args[0] will give the message as a byte string.

unittest.skipIf()

@unittest.skipIf(condition, reason) Skip the decorated test if condition is true.

str.islower()

str.islower() Return true if all cased characters [4] in the string are lowercase and there is at least one cased character, false otherwise.

math.hypot()

math.hypot(x, y) Return the Euclidean norm, sqrt(x*x + y*y). This is the length of the vector from the origin to point (x, y).

urllib.parse.urlsplit()

urllib.parse.urlsplit(urlstring, scheme='', allow_fragments=True) This is similar to urlparse(), but does not split the params from the URL. This should generally be used instead of urlparse() if the more recent URL syntax allowing parameters to be applied to each segment of the path portion of the URL (see RFC 2396) is wanted. A separate function is needed to separate the path segments and parameters. This function returns a 5-tuple: (addressing scheme, network location, path, query, fragme

binascii.hexlify()

binascii.hexlify(data) Return the hexadecimal representation of the binary data. Every byte of data is converted into the corresponding 2-digit hex representation. The returned bytes object is therefore twice as long as the length of data.

email

Source code: Lib/email/__init__.py The email package is a library for managing email messages, including MIME and other RFC 2822-based message documents. It is specifically not designed to do any sending of email messages to SMTP (RFC 2821), NNTP, or other servers; those are functions of modules such as smtplib and nntplib. The email package attempts to be as RFC-compliant as possible, supporting in addition to RFC 2822, such MIME-related RFCs as RFC 2045, RFC 2046, RFC 2047, and RFC 2231. The

tracemalloc.Traceback

class tracemalloc.Traceback Sequence of Frame instances sorted from the most recent frame to the oldest frame. A traceback contains at least 1 frame. If the tracemalloc module failed to get a frame, the filename "<unknown>" at line number 0 is used. When a snapshot is taken, tracebacks of traces are limited to get_traceback_limit() frames. See the take_snapshot() function. The Trace.traceback attribute is an instance of Traceback instance. format(limit=None) Format the traceback as

os.setregid()

os.setregid(rgid, egid) Set the current process’s real and effective group ids. Availability: Unix.

msilib.Dialog.bitmap()

bitmap(name, x, y, width, height, text) Add and return a Bitmap control.