[pypy-dev] PyGame for translatorshell on Lion

2011-08-20 Thread Mitchell Hashimoto
Hello, I've been trying to play around with the PyPy source and work on fixing some bugs. One of the things I wanted to look at was the graph files generated by the shell. I installed PyGame and GraphViz and when I run a t.view on a Translation object, I get the following crazy thing. Has anyone

[pypy-dev] List index out of range for many tests

2011-08-20 Thread Mitchell Hashimoto
Hello, I'm taking a look at some failing tests in the buildbot and trying to mirror them here on my local machine, but the tests are giving me the following error: File /Users/mitchellh/code/3rdparty/python/pypy/pypy/interpreter/pyframe.py, line 193, in pushvalue

Re: [pypy-dev] Duplicated guards

2011-08-20 Thread Alex Gaynor
I believe mozilla worked on this issue. if.you're interested in this perhaps we should get you in contact with them. On Aug 20, 2011 3:35 AM, Hakan Ardo ha...@debian.org wrote: Hi, I've been experimenting a bit with heuristics such as not retracing loops with a lot of guards or not unrolling

Re: [pypy-dev] Saving and reloading JIT optimizations

2011-08-20 Thread Armin Rigo
Hi Zooko, On Fri, Aug 19, 2011 at 5:38 PM, Zooko O'Whielacronx zo...@zooko.com wrote: conservative method of determining if two classes are the same. For example: if they have identical Python source code and their superclasses are the same (in this sense). This cannot be something you can

Re: [pypy-dev] pypy1.6 slow on string-heavy ops

2011-08-20 Thread Armin Rigo
Hi Andy, On Fri, Aug 19, 2011 at 5:48 PM, Andy angelf...@yahoo.com wrote: I remember reading in this list that PyPy-JIT would not work with greenlet because of how greentlet manipulated the C stack and there wasn't any easy solution. No, I think you are confusing two topics. The existing

Re: [pypy-dev] PyGame for translatorshell on Lion

2011-08-20 Thread Armin Rigo
Hi Mitchell, On Sat, Aug 20, 2011 at 8:57 AM, Mitchell Hashimoto mitchell.hashim...@gmail.com wrote: One of the things I wanted to look at was the graph files generated by the shell. I installed PyGame and GraphViz and when I run a t.view on a Translation object, I get the following crazy

Re: [pypy-dev] regex (new re) and 1.6

2011-08-20 Thread Leonardo Santagada
On Sat, Aug 20, 2011 at 4:51 AM, Maciej Fijalkowski fij...@gmail.com wrote: On Fri, Aug 19, 2011 at 10:07 PM, Serhat Sevki Dincer jfcga...@gmail.com wrote: http://pypi.python.org/pypi/regex installs nicely on pypy-1.6 on my Ubuntu 11.04 i386 but from regex import sub Traceback (most recent

Re: [pypy-dev] Duplicated guards

2011-08-20 Thread Hakan Ardo
On 8/20/11, Alex Gaynor alex.gay...@gmail.com wrote: I believe mozilla worked on this issue. if.you're interested in this perhaps we should get you in contact with them. Good idea. Do you have some contact? Does the following approach make sens: When a guard is traced we trace to the next

Re: [pypy-dev] regex (new re) and 1.6

2011-08-20 Thread Serhat Sevki Dincer
TOTITLE is missing? http://docs.python.org/release/2.7.2/library/stdtypes.html#str.title is working on (unicode) strings in pypy. I dont get it, what do u think is up? yes, TOTITLE is not implemented in cpyext, the cpython C compatibility layer. Btw - what are you trying to achieve? If