Re: [pypy-dev] A quick question for you!

2018-06-19 Thread Etienne Robillard
Le 2018-06-18 à 22:47, William ML Leslie a écrit : On 18 June 2018 at 22:18, Etienne Robillard wrote: Hi, Quick question: Does anyone of you know what is the effect of enabling gc.enable() in sitecustomize.py when using PyPy? Can it reduce latency for long-lived WSGI applications? gc is

[pypy-dev] A quick question for you!

2018-06-18 Thread Etienne Robillard
Hi, Quick question: Does anyone of you know what is the effect of enabling gc.enable() in sitecustomize.py when using PyPy? Can it reduce latency for long-lived WSGI applications? Thanks, Etienne -- Etienne Robillard tkad...@yandex.com https://www.isotopesoftware.ca

Re: [pypy-dev] [ZODB] Django-hotsauce/ZODB 5.4.0/PyPy nightly sprint!!

2018-06-08 Thread Etienne Robillard
sync with the schema definition. peace, Etienne Il Ven 8 Giu 2018, 03:29 Etienne Robillard <mailto:tkad...@yandex.com>> ha scritto: Yo people I'm doing a nightly hacking sprint for django-hotsauce on pypy and got some cool bugs I would like to share: Tracebac

Re: [pypy-dev] [ZODB] Django-hotsauce/ZODB 5.4.0/PyPy nightly sprint!!

2018-06-08 Thread Etienne Robillard
sync with the schema definition. peace, Etienne Il Ven 8 Giu 2018, 03:29 Etienne Robillard <mailto:tkad...@yandex.com>> ha scritto: Yo people I'm doing a nightly hacking sprint for django-hotsauce on pypy and got some cool bugs I would like to share: Tracebac

[pypy-dev] Django-hotsauce/ZODB 5.4.0/PyPy nightly sprint!!

2018-06-07 Thread Etienne Robillard
Yo people I'm doing a nightly hacking sprint for django-hotsauce on pypy and got some cool bugs I would like to share: Traceback (most recent call last):   File "/usr/local/bin/schevo", line 11, in     load_entry_point('libschevo', 'console_scripts', 'schevo')()   File "/home/erob/src/libschevo

Re: [pypy-dev] Problem with PyPy 5.10 and persistent module (ZODB)

2018-04-10 Thread Etienne Robillard
+ source_extension) self.modulefilename = os.path.join(self.tmpdir, modulename + suffix) self.ext_package = ext_package Le 2018-04-10 à 06:35, Etienne Robillard a écrit : Hello, I'm trying to run ZODB 5.3.0 with PyPy 5.10 but getting an unexpected error: erob@projectstreetwise:

[pypy-dev] Problem with PyPy 5.10 and persistent module (ZODB)

2018-04-10 Thread Etienne Robillard
Hello, I'm trying to run ZODB 5.3.0 with PyPy 5.10 but getting an unexpected error: erob@projectstreetwise:/home/www/projectstreetwise.org/trunk$ bin/runzeo.sh Traceback (most recent call last):   File "/usr/local/pypy/bin/runzeo", line 11, in     load_entry_point('ZEO==5.1.0', 'console_scripts

Re: [pypy-dev] Problem with cgi module and pypy handling POST request

2018-03-26 Thread Etienne Robillard
Le 2018-03-26 à 13:55, Matti Picus a écrit : On 26/03/18 18:33, Etienne Robillard wrote: The output is: I also managed to fix this issue by removing the "1<<16" parameter in self.fp.readline(). Regards, Etienne This would fail in the same way on Cpython 2, it i

Re: [pypy-dev] Problem with cgi module and pypy handling POST request

2018-03-26 Thread Etienne Robillard
The output is: I also managed to fix this issue by removing the "1<<16" parameter in self.fp.readline(). Regards, Etienne Le 2018-03-26 à 11:04, Matti Picus a écrit : On 26/03/18 16:55, Etienne Robillard wrote: Hi, I got the following error playing with pypy 5.9.0

[pypy-dev] Problem with cgi module and pypy handling POST request

2018-03-26 Thread Etienne Robillard
Hi, I got the following error playing with pypy 5.9.0 under my linux32 development server: Traceback (most recent call last): File "/home/erob/src/django-hotsauce-0.9.1/lib/notmm/controllers/base.py", line 195, in get_response response = callback(request, *args, **kwargs) File "/home

Re: [pypy-dev] How to implement a JIT compiler for Django ?

2018-01-28 Thread Etienne Robillard
Hi Pim, Le 2018-01-28 à 07:58, Pim van der Eijk (Lists) a écrit : On 28-01-18 10:22, Etienne Robillard wrote: Is it possible to use the PyPy JIT compiler embedded into a CPython (Django) application? You should be aware that, while PyPy speeds up many Python applications substantially

Re: [pypy-dev] How to implement a JIT compiler for Django ?

2018-01-28 Thread Etienne Robillard
Great! Thanks very much for this post, Yury. I'll do just what you suggested. :) Cheers, Etienne Le 2018-01-28 à 07:35, Yury V. Zaytsev a écrit : On Sun, 28 Jan 2018, Etienne Robillard wrote: Anyways, having that said, I can't even infer what your original line of thinking wa

Re: [pypy-dev] How to implement a JIT compiler for Django ?

2018-01-28 Thread Etienne Robillard
to speed up what exactly... I'm looking to use JIT as a replacement for Cython in a upcoming Django-hotsauce release. :) Cheers, Etienne -- Etienne Robillard tkad...@yandex.com https://www.isotopesoftware.ca/ ___ pypy-dev mailing

[pypy-dev] How to implement a JIT compiler for Django ?

2018-01-28 Thread Etienne Robillard
Hi, Is it possible to use the PyPy JIT compiler embedded into a CPython (Django) application? I would like to translate a Django app into C code then compile the binary with clang to optimize the code with a JIT engine. What do you think? Etienne -- Etienne Robillard tkad...@yandex.com

[pypy-dev] New django-hotsauce development group

2017-10-16 Thread Etienne Robillard
Hi, I'm pleased to announce the availability of a new public discussion group for Django-hotsauce: https://groups.google.com/forum/#!forum/django-hotsauce Talented CPython and PyPy developers are invited to join and meet the django-hotsauce community. Best regards, Etienne -- Et

Re: [pypy-dev] AttributeError: 'built in-code' object has no attribute 'co_code'

2017-10-13 Thread Etienne Robillard
Hi Yuri I created a new branch for tracking my changes to django-hotsauce on PyPy: % hg clone -b 0.7-pypy https://bitbucket.org/tkadm30/django-hotsauce django-hotsauce Best Regards, Etienne Le 2017-10-13 à 15:13, Yury V. Zaytsev a écrit : On Fri, 13 Oct 2017, Etienne Robillard wrote

Re: [pypy-dev] AttributeError: 'built in-code' object has no attribute 'co_code'

2017-10-13 Thread Etienne Robillard
t of the mix and see what happens when you just run the code as pure Python.) Jason On Oct 13, 2017, at 11:34, Etienne Robillard wrote: Hi Jason, How would you tackle this issue? I may not have defined any __slots__ in my code. Thank you in advance, Etienne Le 2017-10-13 à 11:18, Etien

Re: [pypy-dev] AttributeError: 'built in-code' object has no attribute 'co_code'

2017-10-13 Thread Etienne Robillard
Hi Jason, How would you tackle this issue? I  may not have defined any __slots__ in my code. Thank  you in advance, Etienne Le 2017-10-13 à 11:18, Etienne Robillard a écrit : I opened a ticket for this issue: https://bitbucket.org/pypy/pypy/issues/2681/typeerror-__weakref__-slot-disallowed

Re: [pypy-dev] AttributeError: 'built in-code' object has no attribute 'co_code'

2017-10-13 Thread Etienne Robillard
I opened a ticket for this issue: https://bitbucket.org/pypy/pypy/issues/2681/typeerror-__weakref__-slot-disallowed-we Etienne Le 2017-10-13 à 08:13, Etienne Robillard a écrit : Traceback (most recent call last):   File "/usr/local/pypy/pypy2-v5.9.0-linux32/lib-python/2.7/wsgiref/handle

Re: [pypy-dev] AttributeError: 'built in-code' object has no attribute 'co_code'

2017-10-13 Thread Etienne Robillard
_     return self.application(environ, start_response)   File "lib/notmm/controllers/wsgi.pyx", line 136, in notmm.controllers.wsgi.BaseController.__call__ TypeError: __weakref__ slot disallowed: we already got one Le 2017-10-13 à 07:22, Etienne Robillard a écrit : Hi Yury, I upg

Re: [pypy-dev] AttributeError: 'built in-code' object has no attribute 'co_code'

2017-10-13 Thread Etienne Robillard
Hi Yury, I upgraded pypy to 5.9.0 and cython to 0.27.1. Compilation of libschevo fails under PyPy: erob@marina:~/src/django-hotsauce-pypy/extras/libschevo$ sudo pypy setup.py develop --prefix=/usr/local/pypy running develop running egg_info writing lib/libschevo.egg-info/PKG-INFO writing depe

[pypy-dev] AttributeError: 'built in-code' object has no attribute 'co_code'

2017-10-12 Thread Etienne Robillard
Hi, I'm trying to port django-hotsauce to PyPy. I'm getting an exception when I use Cython compiled under CPython: DEBUG:Traceback (most recent call last): File "lib/notmm/controllers/wsgi.pyx", line 206, in notmm.controllers.wsgi.BaseController.get_response (lib/notmm/controllers/wsgi.c:41