It seems to only handle "/usr/bin/env python" and not "python3" (or anything more specific).
Pull request: https://github.com/WebKit/WebKit/pull/17239
Committed 267509@main (af90c2a471d7): <https://commits.webkit.org/267509@main> Reviewed commits have been landed. Closing PR #17239 and removing active labels.
<rdar://problem/114774394>