Re: trying to run peak-rules on python3
PJ Eby <pje-Wh6+Hckhi6HFNGf7iClzIwC/[email protected]> Tue, 19 Mar 2013 00:04:50 -0400
| Newsgroups | gmane.comp.python.peak |
|---|---|
| Message-ID | <CALeMXf7kC6P4uEPMotuVyQoRpFGg3=y-SOvquVGqDrWUVj6-jQ@mail.gmail.com> |
On Mon, Mar 18, 2013 at 1:56 PM, Herv=E9 Coatanhay <[email protected]> wrote: > "/Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rule= s-0.5a1.dev-r2713/peak/rules/criteria.py", > line 145, in <module> > inequalities =3D { > 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?