filecmp.dircmp.common_funny

common_funny Names in both a and b, such that the type differs between the directories, or names for which os.stat() reports an error.

asyncore.file_dispatcher

class asyncore.file_dispatcher A file_dispatcher takes a file descriptor or file object along with an optional map argument and wraps it for use with the poll() or loop() functions. If provided a file object or anything with a fileno() method, that method will be called and passed to the file_wrapper constructor. Availability: UNIX.

imaplib.IMAP4.close()

IMAP4.close() Close currently selected mailbox. Deleted messages are removed from writable mailbox. This is the recommended command before LOGOUT.

multiprocessing.Lock.release()

release() Release a lock. This can be called from any process or thread, not only the process or thread which originally acquired the lock. Behavior is the same as in threading.Lock.release() except that when invoked on an unlocked lock, a ValueError is raised.

logging.config.fileConfig()

logging.config.fileConfig(fname, defaults=None, disable_existing_loggers=True) Reads the logging configuration from a configparser-format file. The format of the file should be as described in Configuration file format. This function can be called several times from an application, allowing an end user to select from various pre-canned configurations (if the developer provides a mechanism to present the choices and load the chosen configuration). Parameters: fname – A filename, or a file-l

types.MethodType

types.MethodType The type of methods of user-defined class instances.

socketserver.BaseServer.shutdown()

shutdown() Tell the serve_forever() loop to stop and wait until it does.

ctypes.c_int

class ctypes.c_int Represents the C signed int datatype. The constructor accepts an optional integer initializer; no overflow checking is done. On platforms where sizeof(int) == sizeof(long) it is an alias to c_long.

The concurrent package

Currently, there is only one module in this package: concurrent.futures – Launching parallel tasks

calendar.timegm()

calendar.timegm(tuple) An unrelated but handy function that takes a time tuple such as returned by the gmtime() function in the time module, and returns the corresponding Unix timestamp value, assuming an epoch of 1970, and the POSIX encoding. In fact, time.gmtime() and timegm() are each others’ inverse.