Does this not fall over in the circumstance of linking against a C library (not specifically a Python extension) as many Python libraries do?
For e.g. I write “library” of which v1 depends on somelib.so.1.0.0 and v2 depends on somelib.so.2.0.0
If somelib has some symbols clashing in the names this can cause real problems!