GalaxySnail
GalaxySnail
I agree that this example test would not hang. Smith [said](https://gitter.im/python-trio/general?at=621902dc9bd1c71eca76c289): > when you use `nursery.start`, the function runs "under" the call to `start` until it calls `started`, and only...
Thank you for correcting me! 😂 I'm not a native English speeker. I meant it really hangs.
> Another notorious example where cancellation loses information in an important way is `Stream.send_all`. Right now, if `send_all` gets cancelled, you effectively have to throw away that stream and give...
非常感谢。看上去这个 api 还没有记录,那我就先把这个 issue 开着吧。
> 实际上是刚刚发生的事吗 这个叫灰度测试,不同的人收到新特性的时间可能不一样
> 确实会有这个问题,应该是百度的API限制了,当时在抓包的时候就发现了,并且当时是发现这个情况出现的比较少,才用的这个API。 我看了一下源码,发现Tieba.get_like_tiebas使用的是Tieba.LIKES_URL而不是Tieba.MY_LIKE_URL。我在电脑浏览器上测试,后者能够获取到完整贴吧列表,我觉得可以考虑换成这个
> 这个以前用的是这个API,因为是纯HTML,解析需要时间,效率远不如LIKES_URL 其实也花不到多少时间吧(其实请求的时间应该远比解析的时间多) 我觉得没必要完全放弃这个API,可以提供一个选项进行设置,至于贴吧列表其实也可以放在本地缓存起来,不需要每次都请求获取。
> 缓存起来还需要定时任务来更新贴吧列表,并且还会多出一个文件。 > 不过这两个想法可以考虑。 倒不必要定时更新,手动更新一般也足够了;另外可以把用户信息和贴吧列表存在一起,并且把文件名统一一下,添加到.gitignore里面,这样不会影响git检测源代码改动。 说到这个,我想到其实用户名列表也不用硬编码,也可以改成读取配置文件的,配置文件也可以添加到.gitignore里面
I think it may not be a good idea to pin h11 under 0.14, it can cause unnecessary conflicts. See: https://hynek.me/articles/semver-will-not-save-you/
> 3.11 asyncio will get trio-like Task Groups and Exception Groups > > There's not really much point in Trio moving forward. No, the key point of structured concurrency is...