<div class="gmail_quote">2009/9/11 Vincent Fretin <span dir="ltr">&lt;<a href="mailto:vincent.fretin@gmail.com">vincent.fretin@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
I&#39;m sorry I broke the tests.<br>
But instead of reverting, maybe we can sort the list and fix the doctests?<br>
self.klass = u&#39; &#39;.join(sorted(frozenset(parts)))<br>
<br>
It&#39;s just an idea, if you don&#39;t like it, I&#39;m fine with the current code. :-)<br>
<br></blockquote></div>What&#39;s the general idea behind changing that? The original algorithm is not so complicated and it has a somewhat feature that it preserves the order in which classes were added, that can be nice for rendered code readability in some cases (however, I personally didn&#39;t ever needed that). Is there any significant difference in performance?<br clear="all">

<br>-- <br>WBR, Dan Korostelev<br>