Question about asyncio and blocking operations

Alberto Berti alberto at metapensiero.it
Tue Jan 26 19:05:09 EST 2016


>>>>> "Alberto" == Alberto Berti <alberto at metapensiero.it> writes:

    Alberto>     async external_coro(): # this is the calling context, which is a coro
    Alberto>         async with transction.begin():
    Alberto>             o = MyObject
    Alberto>             # maybe other stuff

ops... here it is "o = MyObject()" ;-)




More information about the Python-list mailing list