← Back to team overview

launchpad-reviewers team mailing list archive

Re: [Merge] lp:~mbp/launchpad/mail-scope into lp:launchpad

 

On 30 May 2011 09:24, Robert Collins <robertc@xxxxxxxxxxxxxxxxx> wrote:
> I would decouple the context manager logic from the instance class - something like
> with use_controller(myinstance):
>    do stuff
>
> This avoids the current trap where doing
> with myinstance:
>   do stuff
>
> in two threads simultaneously would break horribly.
>
> I haven't done a full review, but this stood out to me.

Good idea.

-- 
https://code.launchpad.net/~mbp/launchpad/mail-scope/+merge/60281
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~mbp/launchpad/mail-scope into lp:launchpad.


References