3 ms·
As is, it appears to mostly be: major version = backwards compatibly break minor version = forward compatible break I think this is how it has always been, i
by nomel 4y ago
As is, it appears to mostly be:
major version = backwards compatibly break
minor version = forward compatible break
I think this is how it has always been, in general. I've seen many new people very confused by python 3 code not running with "python3". The very embarrassing answer is "You can't really know what the minimum python version unless it's documented, or you scan it with an external tool".
Is there a reasonable alternative? Pip upgradable transpiler?
- Kwpolska 4y agoCode that works in 3.6 but not in 3.5 is fine within typical compatibility definitions. That said, Python nowadays deprecates things quite often (especially things in the standard library), so if Python wanted to adopt a “major = incompatible” scheme, it would probably go up to Python 10 or so.