Skip to content

transform-async-generator-decorators should affect ASYNC101 as well as ASYNC900 #315

Closed

Description

@Zac-HD

since listing a decorator claims that it's safe, we should believe the user.

As it happens I just found a case where the transform decorator in python-trio/trio#638 isn't fully safe (it can hang indefinitely on early exit)... I think the solution to that is to upstream a working version into Trio rather than continuing to have them proliferate with bugs, and so we'll presumably expand the default allowlist with that once (if?) my upcoming PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

new rule

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions