← Back to team overview

launchpad-reviewers team mailing list archive

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

 

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.
-- 
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.


Follow ups

References