The functools python module

Speaker : Marc-Olivier Buob
Nokia Bell Labs
Date: 29/11/2024
Time: 11:00 am - 12:00 pm
Location: Amphi 6

Abstract

First, we recall several concepts (lambda functions, callbacks, callables, functors, decorators) needed for the rest of the presentation.
Second, we present the “functools” module, which provides higher-order utilities dedicated to use callables (including caching, ordering, dispatching, wrapping).
Third,  we give a quick overview of the “operator” module, which is commonly used to transform python operators to callables or to define elegant callbacks.