[PATCH 0/2] Source Builder: Fix UnicodeDecodeError build hang

Anders Montonen Anders.Montonen at iki.fi
Fri May 8 05:50:25 UTC 2020



> On 8 May 2020, at 7:36, Chris Johns <chrisj at rtems.org> wrote:
> 
> On 8/5/20 2:27 pm, Anders Montonen wrote:
>> Hi,
>>> On 7 May 2020, at 5:10, Chris Johns <chrisj at rtems.org> wrote:
>>> 
>>> On 7/5/20 9:37 am, Anders Montonen wrote:
>>>> This patch fixes the UnicodeDecodeError that randomly caused source
>>>> builder to hang.
>>>> 
>>>> In my testing, there was no difference in performance at least under
>>>> Python 3.
>>> 
>>> Have you tested python 2?
>> Unfortunately the patch caused the log.py module to trigger UnicodeEncodeErrors under Python 2, so consider it withdrawn.
> 
> Oh ok. Is it worth looking at fixing log.py? Our fix seems to me to important.

I’m looking into it, I just wanted to give a heads-up.

On a not completely unrelated note, have there been any thoughts about setting a timetable for deprecating Python 2 support now that it is EOL, eg. in RTEMS6? Are there any specific host platforms you want to support that don’t have Python 3?

Regards,
Anders


More information about the devel mailing list