Skip to content

A class instance as a coroutine #759

Answered by smurfix
davidbrochart asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry about this; I had patched out that test and my editor refused to restore the original without telling me about it. Sigh.

asyncio is not using typing.Coroutine for this test for the simple reason that its code is somewhat older than typing.

AFAIK unless the asyncio people accept a patch that changes this you're out of luck here.

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@davidbrochart
Comment options

@smurfix
Comment options

@davidbrochart
Comment options

@smurfix
Comment options

Answer selected by davidbrochart
@davidbrochart
Comment options

@davidbrochart
Comment options

@smurfix
Comment options

@davidbrochart
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants