<div dir="ltr"><div><div><div>Ok I totally missed the tests in README.txt.<br></div>I have to make them python3 friendly before running them.<br></div>I&#39;ll come up with something more consistent as soon as it is done.<br>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 18, 2013 at 9:04 PM, PJ Eby <span dir="ltr">&lt;<a href="mailto:pje@telecommunity.com" target="_blank">pje@telecommunity.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="im">On Mon, Mar 18, 2013 at 1:56 PM, Hervé Coatanhay<br>
&lt;<a href="mailto:herve.coatanhay@gmail.com">herve.coatanhay@gmail.com</a>&gt; wrote:<br>
&gt; &quot;/Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rules-0.5a1.dev-r2713/peak/rules/criteria.py&quot;,<br>
&gt; line 145, in &lt;module&gt;<br>
&gt;     inequalities = {<br>
&gt; TypeError: nonempty __slots__ not supported for subtype of &#39;int&#39;<br>
&gt;<br>
&gt; Does anyone tried to port peak-rules to python3 ? Do you have any advice on<br>
&gt; the right way to do it ? Or even hints on what I&#39;m missing ?<br>
<br>
</div>Well, the nonempty slots thing is probably about the<br>
peak.rules.criteria.IsObject class, which would need some refactoring<br>
to not be based on the integer type.  I couldn&#39;t tell you how many<br>
other things might not work; for example, did you get<br>
BytecodeAssembler to pass all its test?  For that matter, which of<br>
PEAK-Rules&#39; own tests are not working?<br>
</blockquote></div><br><br clear="all"><br>-- <br>dyslectics have more fnu
</div>