[PATCH 1/2] rtemstoolkit: Python 3 compatibility

Chris Johns chrisj at rtems.org
Mon Jan 11 00:58:33 UTC 2016


On 08/01/2016 20:10, Sebastian Huber wrote:
>
>>
>> Can you print the type of 'c'?
>
> <class 'int'>
>

This implies the input stream on Windows is binary in this case and not 
text and so the stream is ints. I suspect the fix here is more 
complicated if the data is some form of unicode format. I suppose the 
str() conversion is ok until we get reports it is not.

Chris




More information about the devel mailing list