An in-depth look at generators, part 2

Last month, we got started on generators, covering the basics and part of the "Enhanced Generators" capabilities added in Python 2.5 with PEP 342.

We will finish the presentation on generators this month, completing our look at the "Enhanced Generator" capabilities that let you build generators as consumers, rather than just as producers; and looking at the new "yield from" capability that was added in Python 3.3 with PEP 380.

We'll also examine the use of generators as co-routines, where they are not necessarily dealing with streams of data.  These can be used to build fibers (user threads) and can be used for asynchronous programming.

 

Join or login to comment.

  • A former member
    A former member

    Excellent presentation. Definitely an advanced talk, but I enjoyed it though. Got the gears cranking.

    March 12, 2014

12 went

Our Sponsors

  • TekSystems

    Provides free pizza and sodas at the meetings.

  • Novetta

    Donation of $500 to promote Python in the community.

People in this
Meetup are also in:

Create your own Meetup Group

Get started Learn more
Bill

I started the group because there wasn't any other type of group like this. I've met some great folks in the group who have become close friends and have also met some amazing business owners.

Bill, started New York City Gay Craft Beer Lovers

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy