<div class="gmail_quote">On 10 October 2010 21:27, Fernando Perez <span dir="ltr"><<a href="http://fperez.net">fperez.net</a>@<a href="http://gmail.com">gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I committed a fix that pulls both forms (with and without the 's') and<br>
added a unit test.  Thanks for help with tracking this down.<br></blockquote><div class="im"><br>That's great. I've tweaked it for py3k, and it all seems to be working.<br>
<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I committed a slightly different form with a more explicit comment,<br>
and leaving the original code still commented out, I think your idea<br>
of having it handy for someone tracking a problem is a good one for a<br>
while.  I'd rather save one of us time in a debug session than be a<br>
stickler about code purity :)<br></blockquote><div><br>Sounds like a good plan. <br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


In the future, while we will *try* to not re-introduce things that you<br>
need to clean up, we may do so accidentally (none of us is running<br>
2to3 regularly yet).  So I hope you'll  be able to point us to any<br>
inadvertent slips in that direction when they happen, and we'll fix<br>
them quickly.  From my review of your branch, I had the impression<br>
most things were pretty easy (like using iter* methods on dicts so the<br>
semantics are unambiguous for the 2to3 tool).<font color="#888888"><br></font></blockquote><div><br>OK, that's great. At present, my strategy is to have one branch with the results of running 2to3 on trunk, which I merge into the branch containing my changes (now renamed to ipython-py3k).<br>

<br>Yes, I've really just gone for best practices 2.6 code, which mostly converts neatly. Using iter* methods is tidier, but not essential; without them, 2to3 just wraps the method call in a list(...) to get the equivalent behaviour.<br>

<br>Thanks,<br>Thomas<br></div></div>