A good day,
For the first time fork of rpyc is python3 compatable. It is probably
to early to shout about this, but I'm excited. But in python3.1, rpyc
all 100+ unit tests passing. Worked through most of the tutorial all
seemed to be working. (Only tested on my machines Linux fedoria 14)
source location:
github.com/Eyecue/rpyc/tree/py3_0.1
Consider this pre alpha, a few security bits haven't been ported yet
and code needs cleaned up. Note this is python3 only code.
--------------------------Summary of my changes:--------------------
conn.modules.__builtin__ --> conn.modules.builtins # Fits into
the python3 notation better
in the protocol, vinegar etc
import_custom_exceptions, instantiate_custom_exceptions -->
allow_custom_exceptions #Made sense to make to combine these into
one
instantiate_oldstyle_exceptions -> No longer supported (doesn't exist
in python3)
scripts
classic_server.py --> rpyc_classic.py
registry_server.py --> rpyc_registry.py
rpyc_vdbconf.py
brine
my implementation of brine is not secure as it is based on pickle,
tomers immplementaion will be used once it is finsihed.
in async
AsyncResultTimeout --> Async_Timeout_Exception # On a
whim, will probably change this back
KNOWN ISSUES
Got an issue with closing down connections, could be improved.
Don't like the threading, blocking locking model, want to radically
change this. For my use case a stackless python non blocking
implementation would make sense.
The underlying code is not very compatable, lots of renaming and
respacing. I strted this when I thought rpyc was dead.
This work is based off tomerfiliba and Alex Grönholm branches and
their hard work.
Alastair :)
Made a package of above
https://github.com/downloads/Eyecue/rpyc/rpyc-3.1.0-python3-alpha.tar.gz
python3 setup.py install etc....