<div class="gmail_quote">On Mon, Dec 29, 2008 at 11:35 AM, Jeff Hardy <span dir="ltr">&lt;<a href="mailto:jdhardy@gmail.com">jdhardy@gmail.com</a>&gt;</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 &lt;<a href="mailto:curt@hagenlocher.org">curt@hagenlocher.org</a>&gt; wrote:<br>
</div><div class="Ih2E3d"><br></div><div class="Ih2E3d">
&gt; There may also be a problem as a result of str == unicode; in fact, there&#39;s<br>
&gt; a commented-out assertion in line 175 of functional.py that specifically<br>
&gt; breaks because this is true.<br>
<br>
</div>functional.py isn&#39;t *exactly* the same as Django&#39;s - I commented that<br>
line out. It does actually have a purpose when str != unicode. There&#39;s<br>
code that hits CP #20366 as well.</blockquote><div>&nbsp;</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>