TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
Show HN: Python micro event loop library (~250 LOC)
59 点
作者
tarruda
3 个月前
3 条评论
vram22
2 个月前
Collapse
It's 736 LOC now.<p>Last 2 lines, 735 and 736:<p><pre><code> # Start the event loop with the main coroutine event_loop(main())</code></pre>
评论 #43203337 未加载
评论 #43203533 未加载
dnadler
2 个月前
Collapse
I haven’t kept up with python too much over the past year or two and learned a couple new things from this code. Namely, match/case and generic class typing. Makes me wonder what else is new, off to the python docs!
评论 #43208111 未加载
somesun
2 个月前
very good example to learn async , will try it