When tasks are run with -v (verbose) on the bitbake commandline, python tasks print their stdout, python tasks do not. We may want to make the behaviour match.
A change has been sent for review.
commit 81a58647b2f4fc0a2589b2978fc9d81b2bfe6aec [build: Make python output print to stdout when running with -v (verbose)]