3 ms·
That type signature is gnarly, I agree. I've seen people get tripped up because they think the function is the generator, and are confused about what behavior t
by maxbond 2y ago
That type signature is gnarly, I agree. I've seen people get tripped up because they think the function is the generator, and are confused about what behavior to expect from concurrent readers of different instances of the generator (because they don't realize that they are different instances in the first place). So my position is more about how to work with Python effectively/understand it accurately than in defense of it's syntax.