Message5742
Fixed in r7045
Actually it's a little more complicated - the abstract class PyTableCode also has to be serializable. But (almost) all code objects that extend PyTableCode are going to be in a separate class loader. (Clamp should enable some change of this. Maybe.)
Fortunately, Java provides support for serialization of such classes, through a registration mechanism in subclassed ObjectOutputStream/ObjectInputStream. Take a look at PyJavaType.java for the Java implementation and test_java_integration.py for a Python implementation. Both are based on the blog post in http://weblogs.java.net/blog/emcmanus/archive/2007/04/cloning_java_ob.html |
|
Date |
User |
Action |
Args |
2010-04-25 18:04:56 | zyasoft | set | messageid: <1272218696.56.0.0473766336444.issue1601@psf.upfronthosting.co.za> |
2010-04-25 18:04:56 | zyasoft | set | recipients:
+ zyasoft, tomstrummer, tlocke |
2010-04-25 18:04:56 | zyasoft | link | issue1601 messages |
2010-04-25 18:04:55 | zyasoft | create | |
|