From: Anthony E. <ae...@si...> - 2002-03-26 19:24:55
|
No need to be sorry. Thanks to all who have answered this to clear this up and for demonstrating the proper way to handle String concatenation in Jython. Perhaps this should be added to the FAQ. ;-) For Java programmers getting into Python via Jython, the behavior is not evident. Sincerely, Anthony Eden > -----Original Message----- > From: Samuele Pedroni [mailto:pe...@in...] > Sent: Tuesday, March 26, 2002 2:13 PM > To: kb...@ca...; Anthony Eden > Cc: jyt...@li... > Subject: Re: [Jython-users] Supporting + on Java objects > > > From: Kevin Butler <kb...@ca...> > > > - The proposed enhancement for Java instances would cause Python instances & > java instances to behave differently: > > t = 5 > > s = Object() > > print "text" + t + " " + s ## error > > > > Exactly, that's the point, as long as Jython is an implementation > of Python <wink> , the behavior + and strings will not change, sorry. > > regards. > > |