[PEAK] trying to run peak-rules on python3
PJ Eby
pje at telecommunity.com
Tue Mar 19 00:04:50 EDT 2013
On Mon, Mar 18, 2013 at 1:56 PM, Hervé Coatanhay
<herve.coatanhay at gmail.com> wrote:
> "/Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rules-0.5a1.dev-r2713/peak/rules/criteria.py",
> line 145, in <module>
> inequalities = {
> TypeError: nonempty __slots__ not supported for subtype of 'int'
>
> Does anyone tried to port peak-rules to python3 ? Do you have any advice on
> the right way to do it ? Or even hints on what I'm missing ?
Well, the nonempty slots thing is probably about the
peak.rules.criteria.IsObject class, which would need some refactoring
to not be based on the integer type. I couldn't tell you how many
other things might not work; for example, did you get
BytecodeAssembler to pass all its test? For that matter, which of
PEAK-Rules' own tests are not working?
More information about the PEAK
mailing list