[Twisted-Python] Question on new code development

Bill Krueger bill.krueger at comcast.net
Fri Jan 21 22:45:41 EST 2005


On Fri, 2005-01-21 at 16:31 -0500, Itamar Shtull-Trauring wrote:
> On Fri, 2005-01-21 at 14:54 -0600, Bill Krueger wrote:
> 
[..snip..]
> > but the Python code will need to use the data as well and I'm not that
> > far along with what the difference between a Java String and Python
> > String (repeat this for each Java native type) are.
> 
> TwistedJava will do the expected conversion by default (so e.g. String
> to unicode string in python, ArrayList to list, Integer from/to python
> int, etc..). It's lossy going from Python to Java though (can't make
> Java ints, only Integers with the default objects,), so you'll need to
> write some custom code to create java arrays, but not too much.
> 

Ok, good. I'll do some playing around with it this weekend using our
Java client prototype. 

Thanks for the help, I'll let you know how it progresses.


> 
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-- 
Bill Krueger <bill.krueger at comcast.net>





More information about the Twisted-Python mailing list