PyCQA/flake8-bugbear

Consider adding alru_cache to B019

Open

#488 创建于 2024年8月8日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Python (116 fork)github user discovery
enhancementhelp wanted

仓库指标

Star
 (1,116 star)
PR 合并指标
 (PR 指标待抓取)

描述

The async-lru project provides a port for Python's built-in functools.lru_cache function for asyncio.

The same rules apply here with respect to garbage collection on instance methods. As this package is maintained by aio-libs it might be worth considering extending this rule to apply to uses of this decorator.

贡献者指南