def print_cmd_line(self, s, target, source, env):
        # In python 3, and in some of our tests, sys.stdout is
        # a String io object, and it takes unicode strings only
        # In other cases it's a regular Python 2.x file object
        # which takes strings (bytes), and if you pass those a
        # unicode object they try to decode with 'ascii' codec
        # which fails if the cmd line has any hi-bit-set chars.
        # This code assumes s is a regular string, but should
        # work if it's unicode too.
        try:
            sys.stdout.write(unicode(s + "\n"))
        except __HOLE__:
            sys.stdout.write(s + "\n")
dataset/ETHPy150Open kayhayen/Nuitka/nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Action.py/_ActionAction.print_cmd_line