The paradox of itertools.tee

Python Users Berlin


Abstract

The module itertools provides 20 tools. There's 19 iterables and then there’s tee...

But what does tee do and why is it the only thing in the module itertools that's not an iterable? In this talk you will understand what tee does and when to use it, but most importantly, you will understand the paradox behind tee...

See, the thing is that tee seems to go against the laws of generators…

Watch the recording