These are chat archives for dropbox/pyston

6th
Oct 2015
An Long
@aisk
Oct 06 2015 01:44
Hi, I have some ast.cpp code generated from adsl, but I have issues on this. I have called giveAttr -> "__init__" on the ast types like this, but in pyston repl, the __init__ function does not called on _ast.Return('something') (I think so, because I got TypeError: object() takes no parameters, and actually this init function takes two arguments).
Kevin Modzelewski
@kmod
Oct 06 2015 01:49
what do you get if you just do print _ast.Return.__init__
An Long
@aisk
Oct 06 2015 01:53
I got this:
>> print _ast.Return.__init__
<unbound method Return.<unknown function name>>
When I call _ast.Return.__init__(_ast.Return(), 1), he says he got two arguments as expected ...
Kevin Modzelewski
@kmod
Oct 06 2015 02:06
hmm I'm getting some different behavior when I try running it
(when copying your ast.cpp into the current master)
I'm seeing that ReturnInit is getting called but then it crashes
(we need to add HCAttrs attrs to BoxedAST and then set attrs_offset to offsetof(BoxedAST, attrs))
maybe try rebasing to master and seeing if anything changes?
An Long
@aisk
Oct 06 2015 02:08
Ok I will try this, thx 😁
An Long
@aisk
Oct 06 2015 02:14
Ok cool, when I merged the latest origin/master, it got passed.
Marius Wachtler
@undingen
Oct 06 2015 20:40
looks like even with my "emergency" #955 we hit the timeouts in the debug builds :-(, I will look into it tomorrow
Kevin Modzelewski
@kmod
Oct 06 2015 22:16
oh hmm
it might be all the new sqlalchemy tests I added
we probably don't need to run all of them in debug mode
Kevin Modzelewski
@kmod
Oct 06 2015 23:58
I got metaserver running on pyston!
:cake: :sparkles:
Sun
@Daetalus
Oct 06 2015 23:58
Congratulations!
Kevin Modzelewski
@kmod
Oct 06 2015 23:59
there's some weird slowness somewhere -- I think it's not flushing the output or something
Sun
@Daetalus
Oct 06 2015 23:59
FYI , I did some initial investigation about pygame in vacation. Pygame use x11, which also defined None, it confict with Pyston None. I didn't dig enough. Just let you know.