Opened at 2015-09-17T08:18:26Z
Last modified at 2016-09-28T08:10:03Z
#2507 assigned task
consider whether to use @inlineCallbacks (in tests or more generally) — at Initial Version
Reported by: | daira | Owned by: | daira |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | documentation | Version: | 1.10.1 |
Keywords: | coding-standards inlineCallbacks twisted docs | Cc: | |
Launchpad Bug: |
Description
[09:05] <daira1> meejah: we don't use inlineCallbacks in Tahoe mainly due to inertia -- the vast majority of the codebase was written without them... [09:07] <daira1> I had some minor technical reservations about them (and about mixing the two styles) but I should probably reconsider whether those are really justified [09:09] <daira1> currently our only use of them is in the tests for some of the cloud backend service providers (on a dev branch) that Leif wrote [09:10] <daira1> I think there's no objection to using them more generally in tests
For this ticket, understand pros and cons of using @inlineCallbacks and add a section to the CodingStandards with guidelines for their use. (This might be very short if no guidelines are needed!)