Message2264

Author ype
Recipients
Date 2005-02-20.22:58:09
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=125722

It's been a while, but the original problem was to get a python 
string from a java character buffer. I had to actually go to 
the source code of jarray to find the tostring() method 
in the first place. I remember trying str() and that wouldn't 
work. 
So, the point was not to implement str(), but to have 
a straightforward way to get from a java character buffer to 
a python string; str() seemed like a good way to do that, 
but any other (preferably documented) way could be good. 
 
What is the CPython way to get a python string from a 
character buffer? str() seems to return too much there. 
 
Kind regards, 
Ype 
 
 
History
Date User Action Args
2008-02-20 17:18:20adminlinkissue629217 messages
2008-02-20 17:18:20admincreate