Re: [pypy-dev] Questions Regarding Scipy in Pypy (Not a Feature Request)

2012-08-08 Thread Stefan Behnel
David Cournapeau, 08.08.2012 23:59: > On Wed, Aug 8, 2012 at 6:32 PM, Matti Picus wrote: >> Someone tried getting f2py working on pypy a while ago, a quick search >> turned up >> http://www.dalkescientific.com/writings/diary/archive/2011/11/09/f2pypy.html >> and a fork of code at >> https://bitbuck

Re: [pypy-dev] Dependence Graphs in Pypy?

2012-08-08 Thread William ML Leslie
On 09/08/2012, Tim Henderson wrote: > Fortunately, I don't need a complete call graph. To get started I really > only need procedure level dependency graphs (with control and > data-dependencies). This graph is essentially a CFG with extra edges for > different types of data dependencies. Thanks t

Re: [pypy-dev] Dependence Graphs in Pypy?

2012-08-08 Thread Tim Henderson
On Wed, Aug 8, 2012 at 3:05 PM, Armin Rigo wrote: > Hi Tim, > > An additional remark: if you're looking for a tool that is able to > extract a complete call graph from a random Python program, then it's > impossible. Only approximations can be done, like e.g. done in > pylint, I believe. > > Suc

Re: [pypy-dev] _marshal EOF error?

2012-08-08 Thread Armin Rigo
Hi Jonathan, On Wed, Aug 8, 2012 at 11:27 PM, Jonathan Slenders wrote: > The patch, just add this one line to lib_pypy/_marshal.py (line 433) Thanks! Checked in this extra line together with a 2-line test in lib_pypy/pypy_test/test_marshal_extra.py. For larger changes or ones that are not so "

Re: [pypy-dev] Questions Regarding Scipy in Pypy (Not a Feature Request)

2012-08-08 Thread David Cournapeau
On Wed, Aug 8, 2012 at 6:32 PM, Matti Picus wrote: > Someone tried getting f2py working on pypy a while ago, a quick search > turned up > http://www.dalkescientific.com/writings/diary/archive/2011/11/09/f2pypy.html > and a fork of code at > https://bitbucket.org/pypy/f2pypy > > Perhaps that could

[pypy-dev] _marshal EOF error?

2012-08-08 Thread Jonathan Slenders
Hi everyone, I have almost a sandlib.py library ready for the Twisted Matrix framework. (The sandlib which is shipped with PyPy is not usable within Twisted.) However, the deserialisation of marshalled messages fails when the sandbox Python process does very big write system calls. Actually, the

Re: [pypy-dev] Help (v.concretetype is NOT lltype.Void)

2012-08-08 Thread Armin Rigo
Hi Léonard, On Wed, Aug 8, 2012 at 9:52 PM, Léonard de Haro wrote: > "assert v.concretetype is lltype.Void" > Assertion Error After a bit of debugging, I found out that this is caused by the two variable "funMap" and "env" which are both known statically to be the EMPTY_MAP_ENV instance. It's a

Re: [pypy-dev] Help (v.concretetype is NOT lltype.Void)

2012-08-08 Thread Léonard de Haro
Hi everyone, For those who don't remember, I'm an undergrad stutent doing an internship about writing textbook interpreters and turn them into JITing VMs using the pypy translation toolchaine. I'm facing a little problem I don't understand. I've written a version of my interpreter using Map

Re: [pypy-dev] Dependence Graphs in Pypy?

2012-08-08 Thread Armin Rigo
Hi Tim, An additional remark: if you're looking for a tool that is able to extract a complete call graph from a random Python program, then it's impossible. Only approximations can be done, like e.g. done in pylint, I believe. Such tools are pointless in PyPy but could be useful in other project

[pypy-dev] Invitation to participate in SIAM CS&E Minisymposium

2012-08-08 Thread Andy Ray Terrel
Hello all, I'm putting together a minisymposium at SIAM CS&E 2013 ( http://www.siam.org/meetings/cse13/ ) on Fast Numerical Code in High Level Languages. Having a speaker from your community would be a wonderful addition to our minisymposium. Unfortunately tight deadlines means I need an answer b

Re: [pypy-dev] Dependence Graphs in Pypy?

2012-08-08 Thread Alex Gaynor
On Wed, Aug 8, 2012 at 11:12 AM, Tim Henderson wrote: > Hi Pypy devs! > > I am a graduate student working on mining software repositories, > specifically mining programming patterns (or rules) from code bases.[1] I > would like to do some work mining patterns from Python programs and I could > ju

[pypy-dev] Dependence Graphs in Pypy?

2012-08-08 Thread Tim Henderson
Hi Pypy devs! I am a graduate student working on mining software repositories, specifically mining programming patterns (or rules) from code bases.[1] I would like to do some work mining patterns from Python programs and I could jump start that work if I could generate dependence graphs from pytho

Re: [pypy-dev] Questions Regarding Scipy in Pypy (Not a Feature Request)

2012-08-08 Thread Matti Picus
Someone tried getting f2py working on pypy a while ago, a quick search turned up http://www.dalkescientific.com/writings/diary/archive/2011/11/09/f2pypy.html and a fork of code at https://bitbucket.org/pypy/f2pypy Perhaps that could be a starting point? Matti On 8/08/2012 8:05 PM, David Cournap

Re: [pypy-dev] Questions Regarding Scipy in Pypy (Not a Feature Request)

2012-08-08 Thread David Cournapeau
On Tue, Jul 31, 2012 at 12:25 PM, Steven Jackson wrote: > I know there is no current plan to implement scipy in pypy, but searching > the PyPy website, I was not able to find the reason. > > If it is not to be included as a feature due to lack of interest or > developer time, I am offering to begi

Re: [pypy-dev] Fatal RPython error: MemoryError

2012-08-08 Thread Roger Flores
>Well, overall we need first someone to care about sanitizing the GC >first.  When the GC raises an RPython MemoryError in the middle of a >minor collection, it probably leaves things in a broken state.  It Again, perhaps this could be avoided for now.  Could the rpython_reserve be set high enoug

Re: [pypy-dev] Fatal RPython error: MemoryError

2012-08-08 Thread Armin Rigo
Hi Eli, hi Roger, Both of your solutions might work. Roger, you overlook a problem in this pseudo-code: > print 'MemoryError' > print stack_trace() # of app We can't suddenly print the stack trace of the application from inside the GC. In order to have a regular stack t