Skip to content

Conversation

@pitrou
Copy link
Contributor

@pitrou pitrou commented Nov 15, 2016

This PR ensures the __wrapped__ attribute of a coroutine points to the original function, and it also adds a utility function to know whether a function is a coroutine.

The initial motivation stems from the complications encountered in dask/distributed#673.

@pitrou
Copy link
Contributor Author

pitrou commented Nov 15, 2016

Again, the Travis-Ci failures here seem unrelated to this PR's changes.

@ajdavis
Copy link
Contributor

ajdavis commented Nov 20, 2016

LGTM.

@bdarnell bdarnell merged commit f31750f into tornadoweb:master Nov 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants