Re: [pypy-dev] Realtime communication and webserver to use with pypy?

2011-09-30 Thread Dirkjan Ochtman
On Fri, Sep 30, 2011 at 07:42, William ML Leslie william.leslie@gmail.com wrote: Twisted has worked well for some time.  Gevent is written in cython, which is currently not supported.  Not sure about Gunicorn, it seems to be able to sit on top of several different workers. Looks like

Re: [pypy-dev] Realtime communication and webserver to use with pypy?

2011-09-30 Thread Maciej Fijalkowski
On Fri, Sep 30, 2011 at 4:28 AM, Dirkjan Ochtman dirk...@ochtman.nl wrote: On Fri, Sep 30, 2011 at 07:42, William ML Leslie william.leslie@gmail.com wrote: Twisted has worked well for some time.  Gevent is written in cython, which is currently not supported.  Not sure about Gunicorn, it

Re: [pypy-dev] Realtime communication and webserver to use with pypy?

2011-09-30 Thread Dirkjan Ochtman
On Fri, Sep 30, 2011 at 13:09, Maciej Fijalkowski fij...@gmail.com wrote: Looks like gunicorn will work: https://bitbucket.org/pypy/compatibility/wiki/gunicorn (I remember reading about someone who had actually done this who was quite satisfied with the setup, but I don't remember where.)

Re: [pypy-dev] I was talking with Russel Winder at PyCON UK.

2011-09-30 Thread Armin Rigo
Hi, Is the conclusion just the fact that, again, the JIT's warm-up time is important, which we know very well? Or is there some other effect that cannot be explained just by that? (BTW, Laura, it's unrelated to multithreading if it's based on the multiprocessing module.) A bientôt, Armin.

Re: [pypy-dev] I was talking with Russel Winder at PyCON UK.

2011-09-30 Thread Maciej Fijalkowski
On Fri, Sep 30, 2011 at 10:20 AM, Armin Rigo ar...@tunes.org wrote: Hi, Is the conclusion just the fact that, again, the JIT's warm-up time is important, which we know very well?  Or is there some other effect that cannot be explained just by that?  (BTW, Laura, it's unrelated to

[pypy-dev] Compile to executable program running in sandboxed environment?

2011-09-30 Thread Galfy Pundee
Hi Pypy gurus,  Is it possible to create an executable package, using PyPy, that is running the python code in a sandboxed environment?  Also when I run in a sandbox environment is it possible to code the logic of the external process handling the policy in python? Thanks in advance for your

[pypy-dev] Compile to executable program running in sandboxed environment?

2011-09-30 Thread Galfy Pundee
Hi Pypy gurus, Is it possible to create an executable package, using PyPy, that is running the python code in a sandboxed environment? Also when I run in a sandbox environment is it possible to code the logic of the external process handling the policy in python? Thanks in advance for your

Re: [pypy-dev] I was talking with Russel Winder at PyCON UK.

2011-09-30 Thread Josh Ayers
I don't think it's due to the warmup of the JIT. Here's a simpler example. import time import multiprocessing def do_nothing(): pass if __name__ == '__main__': time1 = time.time() do_nothing() time2 = time.time() pool = multiprocessing.Pool(processes=1) time3 = time.time()

Re: [pypy-dev] pypy with virtualenv?

2011-09-30 Thread Armin Rigo
Hi, On Thu, Sep 29, 2011 at 03:16, John Anderson son...@gmail.com wrote: sontek@beast$  pypy --version Python 2.7.1 (?, Sep 12 2011, 23:40:42) [PyPy 1.6.0 with GCC 4.6.0] Try running just pypy and see if it prints the following warning lines: debug: WARNING: Library path not found, using

Re: [pypy-dev] Compile to executable program running in sandboxed environment?

2011-09-30 Thread Armin Rigo
Hi Galfy, On Fri, Sep 30, 2011 at 16:09, Galfy Pundee galfyo.pun...@googlemail.com wrote:  Is it possible to create an executable package, using PyPy, that is running the python code in a sandboxed environment? Unclear what you really mean, but I can answer yes to both interpretations of your

Re: [pypy-dev] pypy with virtualenv?

2011-09-30 Thread John Anderson
Try running just pypy and see if it prints the following warning lines: debug: WARNING: Library path not found, using compiled-in sys.path. debug: WARNING: 'sys.prefix' will not be set. debug: WARNING: Make sure the pypy binary is kept inside its tree of files. debug: WARNING: It is ok to

Re: [pypy-dev] PyPy packaging help needed

2011-09-30 Thread Randall Leeds
I've done a little bit of deb packaging before and would love a reason to be more involved in pypy. I'd be happy to get stuck into this. On Fri, Sep 30, 2011 at 13:39, Alex Gaynor alex.gay...@gmail.com wrote: I'm CCing Andrew Godwin on this, because I know he created a .deb for PyPy. Alex

Re: [pypy-dev] PyPy packaging help needed

2011-09-30 Thread Maciej Fijalkowski
On Fri, Sep 30, 2011 at 6:00 PM, Randall Leeds randall.le...@gmail.com wrote: I've done a little bit of deb packaging before and would love a reason to be more involved in pypy. I'd be happy to get stuck into this. I guess what we have now is in

Re: [pypy-dev] [pypy-commit] pypy default: Hack to ensure that ll_arraycopy gets a proper effectinfo.write_descrs_arrays

2011-09-30 Thread Maciej Fijalkowski
On Fri, Sep 30, 2011 at 6:15 PM, Hakan Ardo ha...@debian.org wrote: Hi, is there a better way to fix this? The same kind of issue might arise elsewhere? Make sure that raw_memcopy has the correct effect on analyzer? Author: Hakan Ardo hakan at debian.org Branch: Changeset:

Re: [pypy-dev] pypy with virtualenv?

2011-09-30 Thread David Malcolm
On Fri, 2011-09-30 at 17:14 -0400, John Anderson wrote: Yeah, that build doesn't work with virtualenv. Thanks - I've filed a bug about this in Fedora's downstream bug tracker here: https://bugzilla.redhat.com/show_bug.cgi?id=742641 [snip] ___