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: Thank

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

2017-10-13 Thread Yury V. Zaytsev
On Fri, 13 Oct 2017, Etienne Robillard wrote: Thanks for writing. I fixed all the issues and everything seem to work so far. I'm going to add PyPy to the list of supported platforms for Django-hotsauce. :) So, in the end, these issues were with your code, rather than PyPy / Cython? I think i

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

2017-10-13 Thread Etienne Robillard
Hi Jason, Thanks for writing. I fixed all the issues and everything seem to work so far. I'm going to add PyPy to the list of supported platforms for Django-hotsauce. :) Cheers, Etienne Le 2017-10-13 à 12:39, Jason Madden a écrit : Hi, I don't know anything near like enough about your co

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

2017-10-13 Thread Jason Madden
Hi, I don't know anything near like enough about your code or environment to be able to make any productive suggestions. I left a comment on the issue with some ideas on where to look based on something I've seen in the distant past but that's about all I can do. (Oh, one other thing I would t

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-we

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/handlers.py"

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

2017-10-13 Thread Etienne Robillard
Hi, Can someone please explain what this TypeError message means? Best Regards, Etienne Traceback (most recent call last):   File "/usr/local/pypy/pypy2-v5.9.0-linux32/lib-python/2.7/wsgiref/handlers.py", line 85, in run     self.result = application(self.environ, self.start_response)   Fil

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

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

2017-10-12 Thread Yury V. Zaytsev
Hi, On Thu, 12 Oct 2017, Etienne Robillard wrote: Any ideas why using a @contextmanager here yield this exception with PyPy 5.6.0 and Cython 0.25.2 ? You are using very outdated versions of both PyPy (latest = 5.9.0) and Cython (latest = 0.27.1), could you please try again with the latest v

[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