This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tomaszdrozdz
Recipients aeros, asvetlov, tomaszdrozdz, yselivanov
Date 2020-07-09.10:10:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594289442.21.0.386771819197.issue41202@roundup.psfhosted.org>
In-reply-to
Content
OK.  
I understand.  

So how about maybe:  

    def run(main, *, debug=False, loop=None):  
        ...  
    
        if loop:  
            loop = events.new_event_loop()

So we could customize loop like:  

    loop = events.new_event_loop()  
    loop.set_XXX(...)  
    asyncio.run(my_coro, loop=loop)  

Just what tehn with debug parameter ?
History
Date User Action Args
2020-07-09 10:10:42tomaszdrozdzsetrecipients: + tomaszdrozdz, asvetlov, yselivanov, aeros
2020-07-09 10:10:42tomaszdrozdzsetmessageid: <1594289442.21.0.386771819197.issue41202@roundup.psfhosted.org>
2020-07-09 10:10:42tomaszdrozdzlinkissue41202 messages
2020-07-09 10:10:42tomaszdrozdzcreate