Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability for @async_generator to produce a native async generator #17

Open
wants to merge 4 commits into
base: pr15-pr16-combined
Choose a base branch
from

Commits on Apr 5, 2018

  1. Configuration menu
    Copy the full SHA
    00f129c View commit details
    Browse the repository at this point in the history
  2. Add newsfragment

    oremanj committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    574e2d8 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2018

  1. Configuration menu
    Copy the full SHA
    0bdd33d View commit details
    Browse the repository at this point in the history
  2. Support applying @async_generator to a sync wrapper around an async f…

    …unction
    
    For example, `@trio.enable_ki_protection` requires this if you put it below `@async_generator`. We can't support native-generator-ization in this case, but we can at least avoid crashing.
    oremanj committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    e520187 View commit details
    Browse the repository at this point in the history