[Scons-users] scons 3.0.1: 'ascii' codec can't decode

Fred Wright fw at fwright.net
Wed Nov 29 16:10:52 EST 2017


On Wed, 29 Nov 2017, Bill Deegan wrote:

> Yes.
> That's some logic from the py2/3 port that's not quite right it seems.
>
> Very surprised our test suite didn't catch something this simple.
> I'll take a look at the logic.
> I have a fix for similar in one of my sandboxes, but it's breaking a lot of
> the tests (which themselves could be wrong), thought that fix is for py3.5+
> issue.
>
> In essence, all info used to create a signature from files/values/etc
> should be bytes and not unicode and not treated as a string.
> Looks like the code is not doing that in at least 2 places.

Have you looked at?:

Practical Python porting for systems programmers
http://www.catb.org/esr/faqs/practical-python-porting/

In particular, the section titled "Fix up string/unicode mixing"?

Fred Wright


More information about the Scons-users mailing list