[issue46818] Proper way to inherit from collections.abc.Coroutine

2022-02-21 Thread Kristiyan
New submission from Kristiyan : Hello, Last several days I'm trying to implement an async "opener" object that can be used as Coroutine as well as an AsyncContextManager (eg. work with `await obj.open()` and `async with obj.open()`). I've researched several implemen

[issue46818] Proper way to inherit from collections.abc.Coroutine

2022-02-21 Thread Kristiyan Kanchev
Kristiyan Kanchev added the comment: Hello Andrew, I'm sorry for using the bug tracker, but I wasn't sure whether posting on StackOverflow (is this the appropriate Q&A site?) will attract the attention of the right people. Although I see you marked this as Closed, I'll