<div class="gmail_quote">On Mon, Dec 29, 2008 at 11:35 AM, Jeff Hardy <span dir="ltr"><<a href="mailto:jdhardy@gmail.com">jdhardy@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 class="Ih2E3d">On Mon, Dec 29, 2008 at 9:43 AM, Curt Hagenlocher <<a href="mailto:curt@hagenlocher.org">curt@hagenlocher.org</a>> wrote:<br>
</div><div class="Ih2E3d"><br></div><div class="Ih2E3d">
> There may also be a problem as a result of str == unicode; in fact, there's<br>
> a commented-out assertion in line 175 of functional.py that specifically<br>
> breaks because this is true.<br>
<br>
</div>functional.py isn't *exactly* the same as Django's - I commented that<br>
line out. It does actually have a purpose when str != unicode. There's<br>
code that hits CP #20366 as well.</blockquote><div> </div><div>If nothing else, the code should at least be rearranged to put the tests for unicode and str in the same order in every place they appear.</div><div><br></div>
<div>--</div><div>Curt Hagenlocher</div><div><a href="mailto:curt@hagenlocher.org">curt@hagenlocher.org</a></div></div>