dog-2 / blog_gitalk

this is a repository stores comments of my blog using Gitalk
0 stars 0 forks source link

Python 3.8 + 里的 asyncio 和 asyncio.Semaphore | 雪泥鴻爪 #27

Open dog-2 opened 4 years ago

dog-2 commented 4 years ago

https://dog.wtf/tech/asyncio-and-asyncio-semaphore-in-python-3-8/

Title(EN): asyncio and asyncio.Semaphore in Python 3.8+ Author: dog2 以前的程序放在Python 3.8里跑出错了,原来是由于Python升级3.8后协程库asyncio又双叒叕更新了。 新版本里asyncio.Semaphore的用法改变了,本文简单记录一下新写法。