Hugues Lerebours, Renaud Bauvin - Inspect (Or Gadget)

122 views · Published 21 October 2017 · 29:39 · Indexed 20 September 2026

Channel: EuroPython Conference · 2017 · Science & Technology

Watch on YouTube

"Inspect (Or Gadget)
[EuroPython 2017 - Talk - 2017-07-13 - Anfiteatro 2]
[Rimini, Italy]

Introspection is often seen as a bad coding practice and as
such a gadget.
Nevertheless, the Python Standard Library provides different tools
(among them the 'inspect' library) to easily identify a generator,
recover the source code of a function or get a function signature.
We propose to spend 1/2 hour to dig into what introspection has to offer
to developers, to see what tools are available, what you can get out of
them and some useful use cases that we met in our practice at Criteo.

License: This video is licensed under the CC BY-NC-SA 3.0 license: https://creativecommons.org/licenses/by-nc-sa/3.0/
Please see our speaker release agreement for details: https://ep2017.europython.eu/en/speaker-release-agreement/

More from this channel