I plan to remove these hacks. I wrote them like get to quickly get a
working proof of concept and limit changes with Tulip.

I removed the hacks on __builtins__ and ssl modules. Could you please
try Autobahn with PyPy using Trollius?

Works!

Tested on Linux:

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]

and FreeBSD

[oberstet@tvd_build_txpypy ~/scm/AutobahnPython/examples/asyncio/websocket/echo]$ pypy -V
Python 2.7.3 (4369d6c2378e, Nov 19 2013, 23:00:19)
[PyPy 2.3.0-alpha0 with GCC 4.2.1 Compatible FreeBSD Clang 3.3 (tags/RELEASE_33/final 183502)]

Awesome!!

I've updated https://github.com/tavendo/AutobahnPython#python-support


Trollius now also has an experimental support of Python 2.6 and 3.2.

Here is PyPy3 (which is tracking Python 3.2.3):

oberstet@vbox-ubuntu1310:~/scm/trollius$ ~/pypy3-2.1-beta1-linux64/bin/pypy setup.py install
Traceback (most recent call last):
  File "setup.py", line 35, in <module>
    if sys.version < (2, 7):
TypeError: unorderable types: str < tuple

oberstet@vbox-ubuntu1310:~/scm/trollius$ hg tip
Änderung:        958:6fe9d3161e71
Zweig:           trollius
Marke:           tip
Nutzer:          schlamar <[email protected]>
Datum:           Wed Jan 08 10:19:04 2014 +0100
Zusammenfassung: Some fixes for IocpEventLoop.


(It works also on Python 3.3 and 3.4.)

Ok, but I guess there is no real reason to use Trollius on those, right?

3.3 would use https://pypi.python.org/pypi/asyncio/
3.4 has asyncio built in

/Tobias


Victor


Reply via email to