Skip to content
This repository was archived by the owner on Nov 23, 2017. It is now read-only.

Use collections.abc.Coroutine for asyncio.iscoroutine() when available. #245

Closed
wants to merge 1 commit into from

Conversation

1st1
Copy link
Member

@1st1 1st1 commented May 12, 2015

This should help to resolve issues like #233.

Should I also include 'collections.abc.Generator'?

@asvetlov
Copy link

Not every generator is a coroutine.

@1st1
Copy link
Member Author

1st1 commented May 12, 2015

Not every generator is a coroutine.

That was the original request in #233. However, the newly added collections.abc.Coroutine should be enough.

@asvetlov
Copy link

LGTM

@1st1
Copy link
Member Author

1st1 commented May 13, 2015

This PR was merged in 3a09a93.

@1st1 1st1 closed this May 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants