<div dir="ltr"><div class="gmail_extra">Nick,</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 14, 2013 at 2:06 AM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1od">Have you considered an iterator that produces context managers rather<br>
than the other way around?</div></blockquote></div><div class="gmail_extra"><br></div>What an interesting idea!</div><div class="gmail_extra"><br></div><div class="gmail_extra"><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div class="gmail_extra" style>for c in self.closure():<br> with c do:<br> match_this()<br> match_that()</div></blockquote><br>I don't know yet if it's doable, but it certainly looks good. I'll try.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra" style>Thanks!</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div style>Cheers,</div><div style><br></div>-- <br><span style="color:rgb(0,102,0)">Juancarlo </span><b style="color:rgb(0,102,0)">Añez</b>
</div></div>