queue.Full

exception queue.Full Exception raised when non-blocking put() (or put_nowait()) is called on a Queue object which is full.

http.cookies.Morsel.set()

Morsel.set(key, value, coded_value) Set the key, value and coded_value attributes. Deprecated since version 3.5: The undocumented LegalChars parameter is ignored and will be removed in a future version.

asyncio.Task.print_stack()

print_stack(*, limit=None, file=None) Print the stack or traceback for this task’s coroutine. This produces output similar to that of the traceback module, for the frames retrieved by get_stack(). The limit argument is passed to get_stack(). The file argument is an I/O stream to which the output is written; by default output is written to sys.stderr.

tracemalloc.StatisticDiff.count_diff

count_diff Difference of number of memory blocks between the old and the new snapshots (int): 0 if the memory blocks have been allocated in the new snapshot.

calendar.calendar()

calendar.calendar(year, w=2, l=1, c=6, m=3) Returns a 3-column calendar for an entire year as a multi-line string using the formatyear() of the TextCalendar class.

importlib.util.LazyLoader.factory()

classmethod factory(loader) A static method which returns a callable that creates a lazy loader. This is meant to be used in situations where the loader is passed by class instead of by instance. suffixes = importlib.machinery.SOURCE_SUFFIXES loader = importlib.machinery.SourceFileLoader lazy_loader = importlib.util.LazyLoader.factory(loader) finder = importlib.machinery.FileFinder(path, (lazy_loader, suffixes))

profile.Profile.print_stats()

print_stats(sort=-1) Create a Stats object based on the current profile and print the results to stdout.

importlib.util.resolve_name()

importlib.util.resolve_name(name, package) Resolve a relative module name to an absolute one. If name has no leading dots, then name is simply returned. This allows for usage such as importlib.util.resolve_name('sys', __package__) without doing a check to see if the package argument is needed. ValueError is raised if name is a relative module name but package is a false value (e.g. None or the empty string). ValueError is also raised a relative name would escape its containing package (e.g.

imaplib.IMAP4.read()

IMAP4.read(size) Reads size bytes from the remote server. You may override this method.

xdrlib.Packer.pack_opaque()

Packer.pack_opaque(data) Packs a variable length opaque data string, similarly to pack_string().