It seems that Debian / Ubuntu will start taking precautions against this.
https://www.linuxuprising.com/2023/03/n ... ikely.html
We, Mint users, probably won't see this until Mint 22 / Ubuntu 24.04.
Note that the article offers some alternatives, but I'd still recommend my tutorial using
pyenv
over those alternatives. It's much easier to manage, and much safer. Especially the recommendation to install your own Python from source is a horrible one.