[PEAK] trying to run peak-rules on python3
Hervé Coatanhay
herve.coatanhay at gmail.com
Tue Mar 19 01:39:13 EDT 2013
Ok I totally missed the tests in README.txt.
I have to make them python3 friendly before running them.
I'll come up with something more consistent as soon as it is done.
On Mon, Mar 18, 2013 at 9:04 PM, PJ Eby <pje at telecommunity.com> wrote:
> 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?
>
--
dyslectics have more fnu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.eby-sarna.com/pipermail/peak/attachments/20130318/ef9e3952/attachment.html
More information about the PEAK
mailing list