When pushing in application with TPCF with cflinuxfs4, the expectation is that the stack won't include a python binary. This is documented in the release notes for the stack:
https://github.com/cloudfoundry/cflinuxfs4/releases/tag/1.0.0
In the OSS release, the only python related packages are "libpython3..."
Despite this, when looking at an application pushed in TPCF, it does in fact have the python3, found at /bin/python3.
/bin/python3 --version
Python 3.10.12
TPCF
This is due to a difference between the packages included in the OSS cflinuxfs4 stack, and the commercial release provided by Broadcom.
The python binary brought in unintentionally from a tool that is used with the commercial release of cflinuxfs4.
As this was unintended to be included in the commercial version of the stack , it's going to be removed in a future release.