Convert inlineCallback code to standard Twisted way
Bug #947260 reported by
Duncan McGreggor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Accomplishments Daemon |
Fix Released
|
Low
|
Unassigned |
Bug Description
inlineCallbacks are slow, and not encouraged for general use. Despite being easier for non-Twisted programmers to read, they are innefficient execution-wise, and limit the sorts of things that can be done (due to one-yeild-
affects: | ubuntu-accomplishments-system → ubuntu-accomplishments-daemon |
Changed in ubuntu-accomplishments-daemon: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for the bug, Duncan.
Can you explain why inlineCallbacks are slow and not encouraged and what the alternative would be? Thanks!