We get a lot of questions here about people messing with Python versions and ruining their systems, most noticeably that apt fails to function properly. I am aware that many Ubuntu packages require specific versions of Python to function properly.
My question is: what makes a newer/different Python version incompatible with apt? Do these packages depend on language features that only exist in certain versions, or what version-specific Python features does apt depend on that makes it only work with one particular Python version?