syrusakbary / promise

Ultra-performant Promise implementation in Python
MIT License
362 stars 76 forks source link

Coroutines are not thenable when should #17

Closed syrusakbary closed 7 years ago

syrusakbary commented 7 years ago

Executing promise.is_thenable over a asyncio coroutine returns False, however promisify is able to handle coroutines correctly.

Related PR: https://github.com/graphql-python/graphene/pull/379