-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
slice object may not be dumpable #62
Comments
no can do... slice objects have to pass by value. i think it's a constraint of built in types. anyhow, what was the exception? i'd need full traceback |
With the version on the repository using python 3.2 32 bit: a) Start classic server.
This crashes rpyc. The output from the classic_server is: C:\Program Files (x86)\Python32\Scripts>..\python.exe rpyc_classic.py |
With the suggested changes it works fine:
|
i ended up using your original fix -- i think it should work okay. could you test that? |
I got a crash report from a PyScripter user in which he used the following statement:
numpy_slice = slice(numpy.int32(2),None,None)
This crashed the rpyc server.
Although this is a corner case I am told that numpy users do such things! I suggest the following changes to brine,py.
a) Remove slice from simple types
b) modify dumpable as follows
The text was updated successfully, but these errors were encountered: