> __new__ is a coroutine, __init__ will not be called at all): > -Ben
It works! Thank you.
This style may be documented somewhere..
x = yield from X()
class X:
def __new__(cls):
self = object.__new__(cls)
yield from some async func
return self
Regards,
Imran
