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

Etienne Robillard tkadm30 at yandex.com
Fri Oct 13 12:34:23 EDT 2017


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
>
> 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", 
>> line 85, in run
>>     self.result = application(self.environ, self.start_response)
>>   File 
>> "/usr/local/pypy/pypy2-v5.9.0-linux32/lib-python/2.7/wsgiref/validate.py", 
>> line 176, in lint_app
>>     iterator = application(environ, start_response_wrapper)
>>   File 
>> "/home/erob/src/django-hotsauce-oauthclient/lib/wsgi_oauth2/middleware.py", 
>> line 292, in __call__
>>     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 
>

-- 
Etienne Robillard
tkadm30 at yandex.com
http://www.isotopesoftware.ca/



More information about the pypy-dev mailing list