See allow_pickle at http://rpyc.sourceforge.net/api/core_protocol.html#api-protocol
https://github.com/tomerfiliba/rpyc/blob/master/rpyc/core/protocol.py#L547
I have no idea where you got thread safety issues from
Running as a service and trying to write a pickle file on the remote, I get:
ValueError: pickling is disabled
I read that pickling is disabled because it is not thread safe.
Of course it's not thread safe. No one who is capable to use Rpyc would think it is.
Static class data and @classmethod are not thread safe either. Should these also be disallowed? There not.
I will use a locking mechanism to deal with thread safety issues for pickle. I should be able to do this.
Making it totally unavailable is wrong.
Am I wrong?
| Tomer Filiba tomerfiliba.com ![]() |