Skip to content

deprecate defer.returnValue and/or defer.inlineCallbacks in favour of coros #9930

@twisted-trac

Description

@twisted-trac
graingert's avatar @graingert reported
Trac ID trac#9930
Type enhancement
Created 2020-08-08 08:58:43Z

defer.inlineCallbacks can be replaced with native python coros in all supported twisted python versions

defer.returnValue(v) is a worse 'offender' in that it can be replaced with return v with or without coroutine support

Searchable metadata
trac-id__9930 9930
type__enhancement enhancement
reporter__graingert graingert
priority__normal normal
milestone__None None
branch__ 
branch_author__ 
status__new new
resolution__None None
component__core core
keywords__None None
time__1596877123038604 1596877123038604
changetime__1597152611754313 1597152611754313
version__None None
owner__None None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions