Hi Victor,
Is it supposed to work on PyPy?
Traceback (most recent call last):
File "app_main.py", line 72, in run_toplevel
File "server.py", line 19, in <module>
from autobahn.asyncio.websocket import WebSocketServerProtocol, \
File
"/home/oberstet/scm/AutobahnPython/autobahn/autobahn/asyncio/websocket.py",
line 26, in <module>
import asyncio
File
"/home/oberstet/pypy-2.2.1-linux64/site-packages/asyncio/__init__.py",
line 9, in <module>
from . import selectors
File
"/home/oberstet/pypy-2.2.1-linux64/site-packages/asyncio/selectors.py",
line 13, in <module>
from asyncio.backport import wrap_error
File
"/home/oberstet/pypy-2.2.1-linux64/site-packages/asyncio/backport.py",
line 30, in <module>
__builtins__['InterruptedError'] = InterruptedError
TypeError: 'module' object does not support item assignment
Probably this ("wont fix" issue): https://bugs.pypy.org/issue876
This is on
oberstet@vbox-ubuntu1310:~/scm/AutobahnPython/examples/asyncio/websocket/echo$
pypy -V
Python 2.7.3 (87aa9de10f9c, Nov 24 2013, 18:48:13)
[PyPy 2.2.1 with GCC 4.6.3]
oberstet@vbox-ubuntu1310:~/scm/AutobahnPython/examples/asyncio/websocket/echo$
uname -a
Linux vbox-ubuntu1310 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9
18:17:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux