Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get rid of @inline_callbacks #677

Open
meejah opened this issue Oct 3, 2022 · 0 comments
Open

get rid of @inline_callbacks #677

meejah opened this issue Oct 3, 2022 · 0 comments
Labels
dependencies Pull requests that update a dependency file

Comments

@meejah
Copy link
Collaborator

meejah commented Oct 3, 2022

The "Eliot" logging helper @inline_callbacks is obsolete (see itamarst/eliot#485) and should be replaced with async def functions or Twisted's own @inlineCallbacks on sufficiently-new versions of Twisted.

Since python2 is pining for the fjords the preferred solution is to get rid of both kinds of decorators and use async def and await throughout the codebase.

@meejah meejah added the dependencies Pull requests that update a dependency file label Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

1 participant