Issue2099
Created on 2013-10-16.12:56:14 by stepleton, last changed 2015-04-10.02:08:38 by zyasoft.
msg8156 (view) |
Author: Tom Stepleton (stepleton) |
Date: 2013-10-16.12:56:14 |
|
I might be wrong about this, but there doesn't seem to be any way to pickle or otherwise serialize classes defined in the interpreter (admittedly this is a tricky task in CPython as well, but libraries like dill [https://pypi.python.org/pypi/dill/0.1a1] have some tricks that work in that setting).
This capability is desirable for allowing Jython to power an interactive parallel computing environment.
|
msg8157 (view) |
Author: Jim Baker (zyasoft) |
Date: 2013-10-16.15:16:19 |
|
This is an interesting feature request and doable in principle. I suppose any reworking of PySystemState, such as removing mutable statics and improving caching, should take this into account and test for the serializability of PySystemState (which does claim to be Serializable, since it extends PyObject).
|
msg9094 (view) |
Author: Jim Baker (zyasoft) |
Date: 2014-10-06.03:17:24 |
|
Should robustly test now that these other improvements have been made
Otherwise 2.7.1 or later
|
msg9786 (view) |
Author: Jim Baker (zyasoft) |
Date: 2015-04-10.02:08:38 |
|
Target 2.7.1
I added JUnit tests to test serializability in https://hg.python.org/jython/rev/8e85dc69027c, which can be used as basis of such testing
|
|
Date |
User |
Action |
Args |
2015-04-10 02:08:38 | zyasoft | set | messages:
+ msg9786 |
2014-10-07 00:15:31 | zyasoft | set | priority: normal |
2014-10-06 03:17:24 | zyasoft | set | messages:
+ msg9094 |
2014-05-21 20:48:05 | zyasoft | set | resolution: remind |
2013-10-16 15:16:20 | zyasoft | set | nosy:
+ zyasoft messages:
+ msg8157 |
2013-10-16 12:56:15 | stepleton | create | |
|